/* ═══════════════════════════════════════════════════════════════════════════
   print.css — Fatura ve yazı yazdırma stilleri
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
  /* Gizlenecekler */
  .site-header,
  .site-footer,
  .whatsapp-btn,
  .scroll-top,
  .no-print,
  .checkout-steps,
  nav,
  .sidebar,
  .product-gallery__thumbs,
  .btn,
  .pagination,
  .post-share,
  .post-tags,
  .related-posts,
  .related-products,
  .cookie-consent,
  .admin-sidebar,
  .admin-header {
    display: none !important;
  }

  /* Temel sayfa */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .site-content {
    padding-top: 0 !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Sayfa kesme */
  .page-break-before { page-break-before: always; }
  .page-break-after  { page-break-after: always; }
  .no-page-break     { page-break-inside: avoid; }

  /* Linkler */
  a[href]::after {
    content: none;
  }

  /* Fatura Stili */
  .invoice {
    max-width: 100%;
    padding: 0;
  }

  .invoice__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
  }

  .invoice__company-name {
    font-size: 22pt;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
  }

  .invoice__company-address {
    font-size: 10pt;
    color: #333;
    line-height: 1.5;
  }

  .invoice__title {
    font-size: 28pt;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .invoice__no {
    font-size: 11pt;
    color: #555;
    margin-top: 4px;
  }

  .invoice__meta {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
  }

  .invoice__meta-block h4 {
    font-size: 10pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: #000;
  }

  .invoice__meta-block p {
    font-size: 10pt;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .invoice table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  .invoice th {
    background: #f0f0f0;
    font-size: 10pt;
    font-weight: 700;
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: left;
  }

  .invoice td {
    font-size: 10pt;
    padding: 8px 12px;
    border: 1px solid #ccc;
  }

  .invoice tr:nth-child(even) td {
    background: #f9f9f9;
  }

  .invoice__totals {
    margin-left: auto;
    width: 280px;
  }

  .invoice__totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 10pt;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
  }

  .invoice__totals-row.total {
    font-size: 13pt;
    font-weight: 700;
    border-top: 2px solid #000;
    border-bottom: none;
    padding-top: 8px;
  }

  .invoice__footer {
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px solid #ccc;
    font-size: 9pt;
    color: #555;
    text-align: center;
  }
}
