@page {
  size: A4;
  margin: 10mm;
}

@media print {
  /* Hide Drupal/theme chrome */
  #header, #back-top,
  .no-print,
  .messages__wrapper,
  footer, #footer, .site-footer {
    display: none !important;
  }

  /* Make the quote printable */
  .price-quote {
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;          /* change to 8mm if you want inner margin */
    max-width: none !important;
    border-radius: 0 !important;
 }  
}

.price-quote {
  max-width: 900px;
  margin: 40px auto;
  padding: 80px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  color: #222;
}

.price-quote__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.price-quote__company {
  font-size: 14px;
  line-height: 1.6;
}

.price-quote__header h1 {
  margin: 0;
  font-size: 28px;
  color: #000 !important;
}

.price-quote__company .company-name {
  margin: 0 0 10px 0;
  font-size: 25px;
}

.company-info {
  margin-bottom: 8px;
}

.company-bank-info {
  margin-bottom: 8px;
}

.price-quote__meta {
  text-align: right;
  font-size: 14px;
}

.price-quote__meta h2 {
  margin: 0 0 35px 0;
  font-size: 30px;
  color: #000 !important;  
}

.quote-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.product-info {
  background-color: #f5f5f5;
  padding: 0 15px 20px 0;
}

@media (max-width: 700px) {
  .quote-two-col {
    grid-template-columns: 1fr;
  }
}

.price-quote__section {
  margin-bottom: 30px;
}

.price-quote__section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  border-left: 4px solid #c00;  
  color: #000 !important;  
  padding: 5px 10px;
}

.price-quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 20px;
  font-size: 15px;
}


.price-quote__product_grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px 20px;
  font-size: 15px;
  /*background-color: #ececec;
  border-top: 1px solid #afafaf;
  border-bottom: 1px solid #afafaf;
  padding: 15px 5px;*/
}


.price-quote__table {
  border-top: 1px solid #ddd;
  margin-top: 15px;
}

.price-quote__table .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.price-quote__table .row .label {
  color: #555;
}

.price-quote__table .row .value {
  font-weight: 500;
}

.price-quote__table .row.total {
  font-size: 18px;
  font-weight: bold;
  border-top: 2px solid #222;
  border-bottom: none;
}

.vat-state.is-valid {
  color: #0a7d2c;
  font-weight: 600;
  padding-right: 15px;
}

.vat-state.is-invalid {
  color: #c00;
  font-weight: 600;
  padding-right: 15px;
}

.price-quote__footer {  
  font-size: 11px;
  color: #666;
  margin-top: -20px;
}


.quote-actions {
  text-align: right;
  margin-bottom: 20px;
}

.quote-actions button {
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.quote-actions .btn-print {
  background: #007bff;
  color: #fff;
}

.quote-actions .btn-print:hover {
  background: #0056b3;
}

.quote-actions .btn-purchase {
  background: #28a745;
  color: #fff;
}

.quote-actions .btn-purchase:hover {
  background: #1e7e34;
}

.quote-banner {
  background-color: #ffcc00;
  color: #333;
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
  border-radius: 5px;
  margin-bottom: 20px;
}

.quote-message {  
  margin-top: 20px;
  margin-bottom: 20px;
}

.quote-not-found__actions {
  margin-top: 20px;
}