/* styles.css - HomePage + Rentals + General */

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #111;
    background-color: #fff;
    margin: 0;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    color: #222;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #222;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul {
    margin-left: 1.5rem;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Responsive (mobil friendly) */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    body {
        font-size: 15px;
        padding: 10px;
    }
}

/* ===================== FILTRU ===================== */
.filter-form {
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-item label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.filter-item select,
.filter-item button {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.reset-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

/* Responsive - FILTRU */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===================== GRID PACHETE ===================== */
.rental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.rental-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.2rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rental-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.rental-card h2 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #007BFF;
}

.rental-card p {
    margin: 6px 0;
    font-size: 1rem;
}

.package-description p {
    margin: 0.5rem 0;
}

/* ===================== DETALIU PACHET ===================== */
.rental-package {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.rental-package h1 {
    margin-bottom: 1rem;
    color: #007BFF;
}

.rental-package p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* ===================== PROMOȚII INDEX PAGE ===================== */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.promo-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.2rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.promo-card h2 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #007BFF;
}

/* ===================== PROMOȚIE DETALIU ===================== */

.promo-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.promo-detail h1 {
    margin-bottom: 1rem;
    color: #007BFF;
}

.promo-description {
    margin-top: 1.5rem;
}


/* ===================== FOOTER ===================== */
footer {
    margin-top: 3rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    background-color: #f0f0f0;
}

/* ===================== LINKURI ===================== */
a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===================== NAVBAR ===================== */
.site-header {
    background-color: #007BFF;
    padding: 0.5rem 1rem;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand a {
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navbar-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.navbar-menu li a:hover {
    text-decoration: underline;
}

/* Responsive navbar */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
}

/* ===================== CONTACT FORM ===================== */

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact-form h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222;
    text-align: center;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background-color: #007BFF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
}
/* Succes Message*/
.success-message {
    color: green;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================== ORDER FORM ===================== */

.order-page {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.order-page h1 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 1.5rem;
}

.order-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.order-form textarea {
    min-height: 150px;
    resize: vertical;
}

.order-form button {
    background-color: #007BFF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background-color 0.2s ease;
}

.order-form button:hover {
    background-color: #0056b3;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gdpr-note {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    margin-top: 1rem;
}

/* ===================== ORDER BUTTON ===================== */

.order-button {
    display: inline-block;
    padding: 0.75rem 1.2rem;
    background-color: #28a745;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.order-button:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .order-page {
        padding: 1.5rem;
    }
}
/* ===================== PRINTER DETAIL PAGE ===================== */

/*.printer-detail {*/
/*    max-width: 800px;*/
/*    margin: 0 auto;*/
/*    padding: 1.5rem;*/
/*    background-color: #fff;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 4px 8px rgba(0,0,0,0.05);*/
/*}*/

/*.printer-detail h1 {*/
/*    margin-bottom: 1rem;*/
/*    color: #007BFF;*/
/*}*/

/*.printer-detail .short-description {*/
/*    font-style: italic;*/
/*    color: #555;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.printer-detail .printer-image {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    margin-bottom: 1rem;*/
/*    border-radius: 8px;*/
/*}*/

/*.printer-description p {*/
/*    margin: 0.5rem 0;*/
/*}*/

/*.reset-button {*/
/*    display: inline-block;*/
/*    padding: 0.75rem 1.5rem;*/
/*    background-color: #007BFF;*/
/*    color: #fff;*/
/*    text-decoration: none;*/
/*    border-radius: 6px;*/
/*    font-size: 1rem;*/
/*    transition: background-color 0.2s ease;*/
/*}*/

/*.reset-button:hover {*/
/*    background-color: #0056b3;*/
/*}*/

/* ===================== PRINTER INDEX PAGE ===================== */

.printer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.printer-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.2rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.printer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.printer-card h2 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: #007BFF;
}

.printer-card .short-description {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.printer-card .printer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* === Layout general imprimantă === */
.printer-detail {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* === Titlu === */
.printer-detail h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

/* === Descriere scurtă === */
.short-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* === Imagine imprimantă (dimensiune controlată pentru pagina de detaliu) === */
.printer-image {
    display: block;
    max-width: 380px;      /* 👉 lățimea maximă a imaginii pe desktop */
    width: 100%;           /* se adaptează pe mobil */
    height: auto;
    margin: 0 0 1.5rem 0;  /* aliniată la stânga; dacă o vrei în centru, pune 0 auto 1.5rem auto */
    border-radius: 8px;
    object-fit: contain;
}


/* === Preț === */
.printer-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0070c0;
    margin-bottom: 1rem;
}

/* === Descriere completă === */
.printer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-top: 1rem;
}

/* === Butoane acțiune === */
.order-button,
.reset-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-right: 1rem;
    transition: background-color 0.2s ease;
}

.order-button {
    background-color: #0070c0;
    color: #fff;
}

.order-button:hover {
    background-color: #005c9e;
}

.reset-button {
    background-color: #f1f1f1;
    color: #333;
}

.reset-button:hover {
    background-color: #ddd;
}

/* === Responsive === */
@media (max-width: 768px) {
    .printer-detail {
        padding: 1.5rem 1rem;
    }

    .order-button,
    .reset-button {
        display: block;
        margin: 0.75rem 0;
        width: 100%;
        text-align: center;
    }
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #0070c0;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.related-printers {
    margin-top: 3rem;
}

.related-printers h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.printer-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.printer-card {
    flex: 1 1 calc(33.333% - 1rem);
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.printer-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.printer-card h3 {
    font-size: 1rem;
    color: #0070c0;
    margin-bottom: 0.5rem;
}

/* ====================================
   1. RESETE GENERALE & BODY
==================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
  font-size: 16px;
}

/* ====================================
   2. LINKURI & BUTOANE
==================================== */
a {
  color: #0073e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

button:focus {
  outline: none;
}

/* ====================================
   3. FORMULARE GENERALE
==================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* ====================================
   4. PAGINA DE COMANDĂ (place_order.html)
==================================== */
.order-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.order-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.order-page .intro {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.order-page label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.order-page button {
  background-color: #0073e6;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.order-page button:hover {
  background-color: #005bb5;
}

.product-info {
  background-color: #f9f9f9;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #0073e6;
  border-radius: 6px;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-left: 5px solid #28a745;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.gdpr-note {
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.gdpr-note a {
  color: #0073e6;
  text-decoration: underline;
}

/* ====================================
   5. RESPONSIVE (mobil/tabletă)
==================================== */
@media (max-width: 600px) {
  .order-page {
    padding: 1rem;
  }

  .order-page h1 {
    font-size: 1.5rem;
  }

  .order-page button {
    width: 100%;
  }
}
.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.supply-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
  text-align: center;
  transition: box-shadow 0.3s;
}

.supply-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #4ecdc4;
  color: #000;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
}


/* === Compatibile Supplies Section === */
/* === Titlu pagină === */
.page-title {
  font-size: 2rem;
  margin: 2rem 1rem 1rem;
  text-align: center;
  color: #222;
}

/* === Formular de căutare și filtrare === */
.supply-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem auto 2rem;
  max-width: 900px;
  padding: 0 1rem;
}

.supply-search-form input[type="text"],
.supply-search-form select {
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  flex: 1 1 250px;
}

.supply-search-form button {
  padding: 0.6rem 1.2rem;
  background-color: #0072ce;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.supply-search-form button:hover {
  background-color: #005fa3;
}

/* === Grid consumabile === */
.supply-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 1rem;
}

.supply-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
  max-width: 280px;   /* 👈 forțează lățime maximă pentru card */
  margin: 0 auto;     /* 👈 îl centrează chiar dacă e singur pe rând */
}

.supply-card:hover {
  transform: translateY(-3px);
}

.supply-card img {
  width: 180px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.8rem auto;
  border-radius: 6px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.supply-card h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #333;
}

.supply-card p {
  font-weight: bold;
  color: #0072ce;
  margin-bottom: 0.8rem;
}

.order-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0072ce;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.order-button:hover {
  background-color: #005fa3;
}

/* === Paginare === */
.pagination {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.pagination a {
  color: #0072ce;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

/* === Mesaj dacă nu există rezultate === */
.no-results {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #888;
}

/* === Stiluri pentru supply_page.html (Wagtail) === */
.supply-page {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
}

.supply-page h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.supply-page .content {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* === Stiluri reutilizabile pentru compatibile-supplies (ex: printer detail) === */
.compatible-supplies {
  margin-top: 3rem;
  padding: 1rem;
}

.compatible-supplies h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.compatible-supplies .supply-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.compatible-supplies .supply-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.compatible-supplies .supply-card:hover {
  transform: translateY(-3px);
}

.compatible-supplies .supply-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.compatible-supplies .supply-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #333;
}

.compatible-supplies .supply-card p {
  font-weight: bold;
  color: #0072ce;
  margin-bottom: 0.8rem;
}

.compatible-supplies .order-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0072ce;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.compatible-supplies .order-button:hover {
  background-color: #005fa3;
}

.supply-image-wrapper {
  width: 200px;
  height: 140px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.supply-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.type-filter {
  padding: 0.5rem;
  border-radius: 6px;
  margin-left: 1rem;
}

.supply-type-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  margin-top: 0.4rem;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  width: calc(100% - 2px);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.autocomplete-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.autocomplete-list li:hover {
  background-color: #f0f0f0;
}
.supply-search-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 1;
}
/* 🔧 Fix pentru inputul de căutare care dispare */
input[name="q"] {
  position: relative;
  z-index: 1001;
}


/* Supply Detail */
.supply-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  line-height: 1.6;
}

.supply-detail h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.supply-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.supply-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: contain;
}

.supply-type,
.supply-price {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.compatible-printers {
  margin-top: 1.5rem;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
}

.compatible-printers ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.compatible-printers li {
  margin: 0.3rem 0;
}

.compatible-printer-link {
  color: #0056b3;
  text-decoration: none;
}

.compatible-printer-link:hover {
  text-decoration: underline;
}

.order-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: #007bff;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  text-align: center;
}

.order-button:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .supply-detail h1 {
    font-size: 1.5rem;
  }

  .supply-image img {
    max-width: 100%;
  }

  .order-button {
    width: 100%;
  }
}

.breadcrumb {
  margin: 1em;
  font-size: 0.9rem;
  color: #444;
}
.breadcrumb a {
  color: #0073e6;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #222;
  font-weight: bold;
}


/* ===== Stiluri pentru pagina supply_index_page.html ===== */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top: 1.5rem;
}

.supply-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.supply-card:hover {
  transform: translateY(-4px);
}

.supply-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background-color: #f8f8f8;
}

.supply-card h2 {
  font-size: 1.1rem;
  margin: 0.75rem 1rem 0.25rem;
}

.supply-card .supply-type {
  font-size: 0.85rem;
  color: #666;
  margin: 0 1rem 0.25rem;
}

.supply-card .supply-price {
  font-weight: 600;
  color: #000;
  margin: 0 1rem 1rem;
}

.supply-card .order-button {
  background-color: #007bff;
  color: white;
  margin: 0 1rem 1rem;
  padding: 0.6rem;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.supply-card .order-button:hover {
  background-color: #0056b3;
}


/* === Optimizări mobile UX === */

/* Evită ca ancorele (ex: #form) să fie acoperite de navbar fix */
html {
  scroll-padding-top: 80px;
}

/* Accesibilitate îmbunătățită */
a:focus-visible,
button:focus-visible {
  outline: 3px dashed #007bff;
  outline-offset: 3px;
}

/* Reduce efectele de tranziție pentru utilizatorii sensibili */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* === Sticky buton „Comandă acum” pe mobil === */
@media (max-width: 768px) {
  .sticky-order-btn {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
  }

  .sticky-order-btn:hover {
    background-color: #0056b3;
  }
}




/* ==========================================================================
   Front-end UPGRADE layer (non-breaking)
   Adaugă clase moderne utilizate de noile template-uri, fără să-ți strice stilurile vechi.
   ========================================================================== */
:root{
  --sp-blue:#0a66ff; --sp-blue-600:#0a58e0; --sp-blue-700:#094ac1;
  --sp-text:#0f172a; --sp-text-soft:#475569; --sp-border:#e2e8f0;
  --sp-bg:#fff; --sp-bg-soft:#f6f8fb; --radius:16px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 6px 16px rgba(2,6,23,.08);
}

/* Layout utilitar */
.container{ max-width:1200px; margin:0 auto; padding:0 16px; }
.section{ padding:24px 0; }
.section.soft{ background:var(--sp-bg-soft); }
.lead{ color:var(--sp-text-soft); max-width:70ch; }

/* Header + nav (compat cu markup-ul nou) */
.brandbar .container{ display:flex; align-items:center; gap:12px; padding:10px 16px; }
.brand{ font-weight:800; font-size:1.25rem; }
.site-nav{ background:#fff; box-shadow:0 1px 0 var(--sp-border); }
.site-nav .container{ display:flex; align-items:center; justify-content:space-between; min-height:54px; gap:8px; }
.nav-list{ list-style:none; margin:0; padding:0; display:flex; gap:6px; flex-wrap:wrap; }
.nav-list a{ display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:10px; color:var(--sp-text); text-decoration:none; }
.nav-list a:hover{ background:var(--sp-bg-soft); color:var(--sp-blue-700); }
.nav-right{ display:flex; align-items:center; gap:10px; }
.btn-cta{ background:var(--sp-blue); color:#fff!important; padding:10px 14px; border-radius:12px; }

/* Card grid + card produs */
.card-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:20px; }
.product-card{ background:#fff; border:1px solid var(--sp-border); border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden; display:flex; flex-direction:column; }
.product-card .media{ padding:12px; background:#fff; }
.product-card img{ width:100%; height:240px; object-fit:contain; }
.product-card .card-body{ padding:12px 14px 10px; }
.product-card .title{ font-weight:700; font-size:1.02rem; margin:6px 0; }
.badge{ display:inline-block; padding:4px 8px; border-radius:999px; font-size:.8rem; background:var(--sp-bg-soft); border:1px solid var(--sp-border); color:var(--sp-text-soft); }
.price{ font-weight:800; }

/* Butoane */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:12px; border:1px solid var(--sp-blue); background:var(--sp-blue); color:#fff; text-decoration:none; cursor:pointer; }
.btn:hover{ background:var(--sp-blue-600); text-decoration:none; }
.btn.ghost{ background:#fff; color:var(--sp-blue); }

/* Filtre (căutare + selecturi) */
.filters{ display:grid; grid-template-columns:1fr minmax(180px,220px) minmax(180px,220px) auto; gap:10px; }
@media (max-width: 860px){ .filters{ grid-template-columns:1fr; } }
.filters input[type=search], .filters select{ padding:10px 12px; border-radius:10px; border:1px solid var(--sp-border); }

/* Footer modern */
.site-footer{ background:#fff; border-top:1px solid var(--sp-border); color:var(--sp-text-soft); }
.site-footer .container{ padding:18px 16px; display:grid; gap:8px; }

/* Sticky Order CTA (apare doar pe mobil/tabletă) */
.sticky-order-btn{
  position:fixed; bottom:20px; right:20px; z-index:100;
  background:var(--sp-blue); color:#fff!important; border-radius:50px;
  padding:14px 20px; font-weight:600; box-shadow:0 4px 12px rgba(0,0,0,.15);
}
@media (min-width: 920px){ .sticky-order-btn{ display:none; } }


/* ===== PATCH: Consumabile – layout compact, compatibil cu vechiul markup ===== */

/* GRID: acceptă atât .supply-grid cât și .card-grid */
.section .container > .supply-grid,
.section .container > .card-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  margin-top: 12px !important;
}

/* CARD: acceptă atât .supply-card cât și .product-card */
.supply-grid .supply-card,
.card-grid .product-card {
  width: 280px !important;            /* 3–4 pe rând pe desktop */
  border: 1px solid var(--sp-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  transition: transform .12s ease, box-shadow .12s ease !important;
}
.supply-grid .supply-card:hover,
.card-grid .product-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.08) !important;
}

/* ZONA MEDIA: suportă .supply-image-wrapper și .media */
.supply-card .supply-image-wrapper,
.product-card .media {
  padding: 14px 12px !important;
  height: 180px !important;            /* înălțime controlată */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border-bottom: 1px solid var(--sp-border) !important;
}

/* IMAGINE din card (ambele variante) */
.supply-card .supply-image-wrapper img,
.product-card .media img {
  max-width: 220px !important;
  width: 100% !important;
  height: 150px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* BODY + TITLU (ambele variante) */
.supply-card h2, .supply-card h2 a,
.product-card .title, .product-card .title a {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #0a58e0 !important;
  text-decoration: none !important;
  display: block !important;
  margin: 6px 0 !important;
}
.supply-card h2 a:hover,
.product-card .title a:hover {
  text-decoration: underline !important;
}
.supply-card .supply-type-label,
.product-card .badge {
  margin: 4px 0 2px !important;
}
.supply-card [itemprop="price"],
.product-card .price {
  margin-top: 6px !important;
  font-weight: 700 !important;
}

/* ACTIONS (buton pe toată lățimea) */
.supply-card .order-button,
.product-card .card-actions .btn {
  display: inline-flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #0a58e0 !important;
  background: #fff !important;
  color: #0a58e0 !important;
  text-decoration: none !important;
}
.supply-card .order-button:hover,
.product-card .card-actions .btn:hover {
  background: #0a58e0 !important;
  color: #fff !important;
}

/* Aliniere text în body pentru ambele tipuri de card */
.supply-card, .product-card { text-align: center !important; }




/* =======================
   HOME (variantă hibridă)
   ======================= */
.hp-hero{
  --c1:#0a66ff;           /* albastru corporate */
  --c2:#e9f1ff;           /* albastru foarte deschis */
  --c3:#ffffff;           /* alb */
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(10,102,255,.08), transparent 60%),
    linear-gradient(180deg, var(--c2), var(--c3));
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--sp-border, #e2e8f0);
}
.hp-hero .container{ }
.hp-hero-wrap{
  display:grid; align-items:center; gap:22px;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 980px){
  .hp-hero-wrap{ grid-template-columns: 1fr; }
}
.hp-hero-text h1{
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height:1.15; margin: 4px 0 10px; color:#0f172a;
}
.hp-hero-text .lead{
  color:#475569; max-width: 65ch; margin-bottom: 14px;
}
.hp-hero-ctas{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.hp-btn-primary{ background:#0a66ff; }
.hp-btn-primary:hover{ background:#094fe0; }

.hp-hero-media{
  display:flex; justify-content:center; align-items:center;
  padding: 8px; background:#fff; border-radius: 16px;
  border:1px solid var(--sp-border, #e2e8f0);
  box-shadow: 0 8px 30px rgba(2,6,23,.06);
}
.hp-hero-media img{ width:100%; height:auto; max-width:520px; }

/* BENEFITS */
.hp-benefits{ }
.hp-benefits-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.hp-benefit{
  background:#fff; border:1px solid var(--sp-border, #e2e8f0);
  border-radius:16px; padding:16px; text-align:center;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.hp-benefit .ico{ font-size:28px; line-height:1; margin-bottom:6px; }
.hp-benefit h3{ margin:6px 0 4px; font-size:1.05rem; }
.hp-benefit p{ color:#64748b; }

/* SERVICES (folosește card-grid + product-card exist.) */
.hp-services .product-card{ min-height: 170px; }
.hp-services .product-card .title{ font-size:1.06rem; }
.hp-services .product-card .lead{ font-size:.95rem; }

/* CTA final */
.hp-cta-final{
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
  border-top:1px solid var(--sp-border, #e2e8f0);
  padding:18px 0;
}
.hp-cta-line{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.hp-cta-line p{ margin:0; color:#0f172a; font-weight:600; }
@media (max-width: 720px){
  .hp-cta-line{ flex-direction:column; text-align:center; }
}




/* =========================
   Promo Card – editabil (Wagtail)
   ========================= */
.promo-card{
  display:grid; grid-template-columns: 1.15fr .85fr; gap:18px;
  align-items:center; text-decoration:none; color:inherit;
  border-radius:20px; padding:18px; overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 34px rgba(3,7,18,.12);
  transition: transform .15s ease;
}
.promo-card:hover{ transform: translateY(-1px); }

/* variante fundal */
.promo-card.gradient-violet{
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(10,102,255,.10), transparent 60%),
    linear-gradient(135deg, #1b3b8f 0%, #7e2bd0 55%, #a83289 100%);
  color:#fff;
}
.promo-card.gradient-blue{
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(10,102,255,.10), transparent 60%),
    linear-gradient(135deg, #0a66ff 0%, #3aa0ff 55%, #7bc2ff 100%);
  color:#fff;
}
.promo-card.light{
  background:#fff; color:#0f172a; border:1px solid #e2e8f0;
}

.promo-content{ }
.promo-title{
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  line-height:1.15; margin:2px 0 6px; font-weight:800;
}
.promo-title .highlight{
  background: linear-gradient(180deg,#fff08a, #ffd84d);
  color:#0b1220; padding:2px 8px; border-radius:10px; margin:0 4px;
  display:inline-block;
}
.promo-title .unit{ font-weight:700; opacity:.95; }
.promo-sub{ margin: 4px 0 10px; opacity:.95; }

.promo-list{ list-style:none; margin:0 0 12px; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.promo-list li{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius:12px; padding:6px 10px; font-weight:600;
}
.promo-card.light .promo-list li{
  background:#f6f8fb; border-color:#e2e8f0;
}

.promo-cta .btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:12px; font-weight:800;
  background:#ffffff; color:#0a66ff; border:1px solid #fff;
  box-shadow: 0 8px 20px rgba(2,6,23,.2);
}
.promo-card.light .promo-cta .btn{
  background:#0a66ff; border-color:#0a66ff; color:#fff;
}
.promo-cta .btn:hover{ filter:brightness(0.95); }

.promo-media{
  background:#ffffff; border-radius:16px; padding:8px;
  border:1px solid rgba(255,255,255,.3);
  box-shadow: 0 8px 28px rgba(2,6,23,.18);
}
.promo-card.light .promo-media{ border-color:#e2e8f0; }
.promo-media img{ width:100%; height:auto; display:block; }

@media (max-width: 980px){
  .promo-card{ grid-template-columns: 1fr; }
  .promo-media{ order:-1; }
}


/* ================================
   PRODUCT PAGE (stil modern)
   ================================ */

.sp-product-page {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1rem;
  background: #ffffff;
}

.sp-product-header {
  margin-bottom: 1.5rem;
}

.sp-product-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.4rem;
}

.sp-product-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 720px;
}

.sp-product-price {
  margin-top: 0.6rem;
  font-size: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.sp-product-price-label {
  color: #555;
}

.sp-product-price-value {
  font-weight: 700;
  color: #0a66c2;
  font-size: 1.1rem;
}

/* === Galerie imagini produs (imagine principală + thumbs) === */

/* container general galerie */
.sp-product-image {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  align-items: center;
}

/* imaginea principală (LCP) */
.sp-product-main-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-product-main-image img {
  max-width: 100%;
  max-height: 420px;       /* 👉 nu mai explodează pe verticală */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* rândul cu miniaturi */
.sp-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* buton thumbnail */
.sp-thumb-btn {
  border: 1px solid #e0e4f0;
  border-radius: 8px;
  padding: 0.25rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.sp-thumb-btn img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

/* thumb activ */
.sp-thumb-btn--active {
  border-color: #0a66c2;
  box-shadow: 0 0 0 1px rgba(10,102,194,.2);
}

/* accesibilitate focus */
.sp-thumb-btn:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
}

/* pe mobil reducem puțin înălțimea imaginii principale */
@media (max-width: 768px) {
  .sp-product-main-image img {
    max-height: 320px;
  }
}

.sp-product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp-product-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-product-features li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #333;
}

.sp-product-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #0073b1;
}

/* Taguri */
.sp-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sp-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background-color: #f4f6fb;
  color: #333;
}

/* Acțiuni */
.sp-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.sp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: #0a66c2;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.sp-cta-btn:hover {
  background: #004182;
  box-shadow: 0 3px 8px rgba(0, 65, 130, 0.25);
}

.sp-cta-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.sp-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sp-secondary-btn:hover {
  background: #f3f4f8;
  border-color: #b4bfd4;
}

/* Descriere detaliată */
.sp-product-description {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e3e7f0;
}

.sp-product-description h2 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.sp-product-description-body {
  font-size: 0.96rem;
  color: #333;
  line-height: 1.6;
}

/* Secțiuni generice */
.sp-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.sp-section-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
}

.sp-section-subtitle {
  font-size: 0.9rem;
  color: #666;
}

/* Consumabile compatibile */
.sp-supplies-section {
  margin-top: 2.5rem;
}

.sp-supplies-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sp-supply-card {
  border-radius: 12px;
  border: 1px solid #e0e4f0;
  background: #ffffff;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.sp-supply-card:hover {
  box-shadow: 0 4px 12px rgba(19, 41, 79, 0.12);
  border-color: #c7d0ea;
  transform: translateY(-1px);
}

.sp-supply-image-wrap {
  width: 100%;
  background: #f7f8fb;
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-supply-image-wrap img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sp-supply-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sp-supply-title {
  font-size: 0.95rem;
  margin: 0;
}

.sp-supply-title a {
  text-decoration: none;
  color: #222;
}

.sp-supply-title a:hover {
  text-decoration: underline;
}

.sp-supply-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a66c2;
}

.sp-supply-btn {
  margin-top: 0.3rem;
  align-self: flex-start;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #0a66c2;
  background: #fff;
  color: #0a66c2;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-supply-btn:hover {
  background: #0a66c2;
  color: #fff;
}

/* Imprimante similare */
.sp-related-section {
  margin-top: 2.5rem;
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sp-related-card {
  border-radius: 12px;
  border: 1px solid #e0e4f0;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.sp-related-card:hover {
  box-shadow: 0 4px 12px rgba(19, 41, 79, 0.12);
  border-color: #c7d0ea;
  transform: translateY(-1px);
}

.sp-related-image-wrap {
  background: #f5f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
}

.sp-related-image-wrap img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sp-related-body {
  padding: 0.8rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-related-title {
  font-size: 0.95rem;
  margin: 0;
  color: #222;
}

.sp-related-btn {
  align-self: flex-start;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #0a66c2;
  background: #fff;
  color: #0a66c2;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-related-btn:hover {
  background: #0a66c2;
  color: #fff;
}

/* =======================
   Responsive
   ======================= */
/* Layout principal: imagine + info (mobil = coloană, desktop = 2 coloane) */
.sp-product-main {
  display: flex;
  flex-direction: column;   /* mobil/tabletă: totul pe verticală */
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* desktop / ecrane late */
@media (min-width: 900px) {
  .sp-product-main {
    flex-direction: row;    /* imagine stânga, detalii dreapta */
    align-items: flex-start;
  }

  .sp-product-image,
  .sp-product-info {
    flex: 1 1 0;
  }

  .sp-product-image {
    max-width: 460px;       /* opțional: limitează puțin coloana de imagine */
  }
}

/* ================================
   BOX INCHIRIERE IN PAGINA IMPRIMANTEI (clean)
   ================================ */

.sp-rental-box {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sp-rental-header {
  margin-bottom: 1.2rem;
}

.sp-rental-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.sp-rental-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
}

/* text durate contract: "36, 48, 60 luni" */
.sp-rental-durations-text {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.9rem;
  color: #64748b;
}

/* Grid cu pachete */
.sp-rental-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sp-rental-plan {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sp-rental-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sp-rental-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-color: #0f766e;
}

.sp-rental-plan:hover::before {
  opacity: 1;
}

/* titlu pachet + badge */
.sp-rental-plan-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.sp-rental-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #e0f2fe;
  color: #0f172a;
}

/* text pagini incluse */
.sp-rental-pages {
  margin: 0.3rem 0 0.4rem;
  font-size: 0.9rem;
  color: #475569;
}

/* preț unic / lună */
.sp-rental-price-single {
  margin: 0.2rem 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f766e;
}

/* buton pe pachet */
.sp-rental-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.sp-rental-cta:hover {
  background: #115e59;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}

/* zona configurator de sub pachete */
.sp-rental-configurator {
  border-top: 1px dashed #cbd5f5;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

.sp-configurator-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  gap: 0.4rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sp-configurator-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #0f172a;
}

/* Responsive */
@media (max-width: 992px) {
  .sp-rental-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sp-rental-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
  }

  .sp-rental-plans {
    grid-template-columns: 1fr;
  }

  .sp-rental-configurator {
    justify-content: stretch;
  }

  .sp-configurator-btn {
    width: 100%;
  }
}
/* =======================
   Responsive
   ======================= */
/* Layout principal: mobil = o coloană, desktop = 3 coloane:
   [imagine] [descriere] [închiriere] */
.sp-product-main {
  display: grid;
  grid-template-columns: 1fr;        /* mobil: totul pe o coloană */
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* desktop / ecrane late */
@media (min-width: 1100px) {
  .sp-product-main {
    grid-template-columns: 0.95fr 1fr 1.05fr;
    align-items: flex-start;
  }
}

/* ne asigurăm că toate cele 3 coloane se întind corect */
.sp-product-image,
.sp-product-info,
.sp-product-rental {
  width: 100%;
}

/* === Printer detail layout tuning === */
.sp-product-page.sp-product-page--wide {
  max-width: 1700px;
}

/* 3 coloane pe desktop: imagine | detalii | închiriere */
.sp-product-main.sp-product-main--three-cols {
  gap: 0.5rem;
}

/* Coloana de închiriere să nu pară gigant */
.sp-product-rental {
  flex: 0 0 34%;
}

.sp-rental-box.sp-rental-box--compact {
  margin-top: 0;
  padding: 1.25rem 1.25rem 1rem;
}

.sp-rental-plans {
  gap: 0.75rem;
}

.sp-rental-plan {
  padding: 0.75rem 0.9rem;
  gap: 0.35rem;
}
/* === Consolidated accessibility and repaired-template layer === */
.skip-link { position:absolute; left:1rem; top:-5rem; z-index:9999; padding:.75rem 1rem; background:#111827; color:#fff; }
.skip-link:focus { top:1rem; }
#main-content { min-height:60vh; }
.navbar-brand { color:#0f2d5c; font-weight:800; text-decoration:none; }
.site-footer .container { max-width:1200px; margin-inline:auto; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; }
.breadcrumb { max-width:1200px; margin:1rem auto; padding-inline:1rem; }
.breadcrumb ol { display:flex; flex-wrap:wrap; gap:.4rem; margin:0; padding:0; list-style:none; }
.breadcrumb li + li::before { content:"›"; margin-right:.4rem; color:#64748b; }
.hp-hero-visual { min-height:240px; display:grid; place-items:center; padding:2rem; border-radius:1.5rem; background:linear-gradient(135deg,#0b63ce,#6d28d9); color:#fff; font-size:clamp(1.2rem,3vw,2rem); font-weight:800; text-align:center; }
.image-placeholder { min-height:220px; display:grid; place-items:center; border:1px dashed #94a3b8; border-radius:1rem; background:#f8fafc; color:#475569; }
.order-page, .contact-page { max-width:760px; }
.order-form, .contact-form { display:grid; gap:.75rem; }
.order-form p, .contact-form p { margin:0; }
.order-form label, .contact-form label, .filter-form label, .supply-filters label { display:grid; gap:.35rem; font-weight:600; }
.order-form input:not([type="checkbox"]), .contact-form input:not([type="checkbox"]), .order-form textarea, .contact-form textarea, .filter-form select, .supply-filters select, .supply-filters input { width:100%; box-sizing:border-box; }
.consent-field { display:flex; align-items:flex-start; gap:.6rem; }
.consent-field label { display:inline; font-weight:400; }
.errorlist, .form-errors { color:#9f1239; }
.success-message { padding:1rem; border:1px solid #16a34a; border-radius:.75rem; background:#f0fdf4; }
.product-summary { margin-block:1rem; padding:1rem; border-radius:.75rem; background:#f8fafc; }
@media (max-width:760px) { .navbar { align-items:flex-start; } .navbar-menu { flex-wrap:wrap; } .sp-product-main.sp-product-main--three-cols { display:grid; } .sp-product-rental { flex-basis:auto; } }
