/* H4 ve P elementlerini blok elementlerden inline'a zorla */
.info-item * {
    display: inline !important;
    float: none !important;
    clear: none !important;
}

/* Span kullanımı için alternatif stiller */
.info-item span:first-child {
    font-weight: 600;
    color: #2c3e50;
    font-size: 11px;
}

.info-item span:last-child {
    color: #495057;
    font-size: 11px;
    margin-left: 5px;
}

/* Genel sıfırlama - Üstteki boşlukları engellemek için */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-section {
    margin-bottom: 25px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input[type="file"] {
    padding: 10px;
    border: 2px dashed #3498db;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(52, 152, 219, 0.05);
}

input[type="file"]:hover {
    border-style: solid;
    background: rgba(52, 152, 219, 0.1);
}

/* KDV Ayarları için stiller */
.vat-settings {
    display: flex;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 10px;
}

.vat-include {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vat-include label {
    display: inline;
    margin-bottom: 0;
    cursor: pointer;
}

.vat-include input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.vat-rate {
    flex: 1;
}

.offer-item {
    border: 2px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.offer-item:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.offer-item .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.remove-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.actions {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
}

button {
    background: #3498db;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

#addItem {
    background: #2ecc71;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

#addItem:hover {
    background: #27ae60;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

#pdfBtn,
#pdfPreviewBtn {
    background: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

#pdfBtn:hover,
#pdfPreviewBtn:hover {
    background: #c0392b;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

#previewBtn {
    background: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

#previewBtn:hover {
    background: #2980b9;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: transparent;
    /* Arka plan rengi transparent */
    margin: 0;
    padding: 0;
    border: none;
    width: 210mm;
    max-width: 100%;
    border-radius: 0;
    overflow: visible;
    /* hidden yerine visible */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    margin: 0 auto;
    /* Üstteki boşluğu engellemek için */
    position: relative;
    top: 0;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* PDF A4 Düzeni - Kompakt ve düzgün kenar boşlukları */
#offerPreview {
    width: 210mm;
    min-height: 297mm;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 10pt;
    line-height: 1.4;
    color: #2c3e50;
    position: relative;
    /* Üstteki boşluğu engellemek için */
    display: flex;
    flex-direction: column;
}

.modal-actions {
    margin-top: 0;
    padding: 20px;
    text-align: right;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-actions button {
    padding: 12px 24px;
}

#printPreviewBtn {
    display: none;
}

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

/* Kompakt Header - Daha az yükseklik */
.offer-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Üstteki boşluğu engellemek için */
    margin-top: -5px !important;
    padding-top: 20px !important;
}

/* İlk element olduğundan emin olmak için */
#offerPreview>.offer-header:first-child {
    margin-top: -10px !important;
}

.offer-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Logo container - Kompakt */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.company-logo {
    flex: 0 0 auto;
}

.dealer-logo {
    flex: 0 0 auto;
    background: transparent;
    /* Beyaz alan sorunu için */
}

/* Logo stilleri - Daha büyük */
.main-logo {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    background: transparent;
    /* Beyaz alan sorunu için */
}

.offer-header .main-logo {
    filter: brightness(0) invert(1);
}

/* Dealer logosu için özel stil - önizleme sorunu çözümü */
.offer-header .dealer-logo {
    background: rgba(255, 255, 255, 0.1);
    /* Şeffaf beyaz */
    padding: 5px;
    border-radius: 4px;
}

.dealer-logo .main-logo {
    filter: none;
    /* Dealer logosuna filter uygulanmasın */
    background: transparent;
}

.offer-logo-placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.5);
    padding: 20px;
    text-align: center;
    width: 100px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
}

.offer-title {
    font-size: 20px;
    margin: 10px 0 5px;
    color: white;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.offer-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 300;
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

/* Tek kutu içinde 4 bölmeli bilgi alanı - FLEX ÇÖZÜMÜ */
.offer-info-box {
    background: #f8fafb;
    padding: 15px 20px;
    margin: 0 0 15px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    border-bottom: 2px solid #e9ecef;
}

.info-item {
    flex: 0 0 calc(50% - 15px);
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.info-item h4 {
    color: #2c3e50;
    font-size: 11px;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

.info-item h4::after {
    content: ":";
}

.info-item p {
    margin: 0;
    color: #495057;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

/* Ana içerik alanı */
.offer-content {
    padding: 15px 20px;
}

.offer-section {
    margin-bottom: 15px;
}

.offer-section-title {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-left: 8px;
    border-left: 3px solid #2a5298;
    font-weight: 600;
}

/* Kompakt Table */
.offer-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 9pt;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.offer-table thead {
    background: linear-gradient(135deg, #2a5298 0%, #3563b8 100%);
}

.offer-table th,
.offer-table td {
    padding: 10px 12px;
    text-align: left;
}

.offer-table th {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3px;
    border: none;
}

.offer-table td {
    border-bottom: 1px solid #e9ecef;
    font-size: 11px;
    color: #495057;
}

.offer-table td:first-child {
    font-weight: 500;
    color: #2c3e50;
}

.offer-table tr:last-child td {
    border-bottom: none;
}

.offer-table tbody tr {
    transition: all 0.2s ease;
}

.offer-table tbody tr:hover {
    background-color: #f8fafb;
}

/* Tablo sütun genişlikleri */
.offer-table th:nth-child(1),
.offer-table td:nth-child(1) {
    width: 35%;
    padding-left: 15px;
}

.offer-table th:nth-child(2),
.offer-table td:nth-child(2) {
    width: 15%;
    text-align: center;
}

.offer-table th:nth-child(3),
.offer-table td:nth-child(3) {
    width: 15%;
    text-align: center;
}

.offer-table th:nth-child(4),
.offer-table td:nth-child(4) {
    width: 17.5%;
    text-align: right;
}

.offer-table th:nth-child(5),
.offer-table td:nth-child(5) {
    width: 17.5%;
    text-align: right;
    font-weight: 600;
    color: #2a5298;
    padding-right: 15px;
}

/* Fiyat Özeti - Kompakt */
.offer-totals-box {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #e9ecef;
}

.offer-total {
    font-weight: 700;
    font-size: 14px;
    margin-top: 8px;
    color: #2a5298;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 2px solid #dee2e6;
}

.offer-subtotal,
.offer-vat {
    margin: 3px 0;
    font-size: 11px;
    color: #495057;
    display: flex;
    justify-content: space-between;
    padding: 1px 0;
}

/* Kompakt Notes */
.offer-features {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    break-inside: avoid;
}

.offer-features h4 {
    color: #2a5298;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.performance-list p {
    margin: 5px 0;
    font-size: 10px;
    line-height: 1.4;
    color: #4a5568;
    display: flex;
    align-items: start;
    gap: 8px;
}

.performance-list p::before {
    content: "✓";
    color: #5a7fb8;
    font-weight: bold;
    flex-shrink: 0;
}

.product-performance {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #4a5568;
}

.product-performance strong {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 12pt;
    font-weight: 700;
}

/* Contact Bar - Kompakt */
.offer-starbor-link {
    text-align: center;
    margin: 15px 0;
    width: 100%;
    padding: 10px 20px;
    background: #5a7fb8;
    color: white;
}

.starbor-link-text {
    font-weight: 400;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    display: inline;
    margin-right: 8px;
}

.starbor-link {
    display: inline;
    color: white;
    text-decoration: underline;
    font-weight: 600;
    font-size: 10px;
}

.starbor-link:hover {
    text-decoration: none;
}

/* Footer - Sol ve sağ hizalama */
.offer-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background: #f8fafb;
    padding: 20px;
    width: 100%;
}

.offer-date {
    flex: 1 1 50%;
    text-align: left;
    font-size: 10px;
    color: #718096;
}

.offer-date p {
    margin: 3px 0;
}

.offer-date strong {
    color: #2a5298;
    font-weight: 600;
}

.offer-signature {
    flex: 1 1 50%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.signature-img {
    max-height: 60px;
    max-width: 120px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
}

.signature-placeholder {
    border: 2px dashed #3498db;
    padding: 15px;
    text-align: center;
    margin: 0 0 8px auto;
    width: 100px;
    color: #7f8c8d;
    border-radius: 6px;
    background: #ecf0f1;
    font-size: 10px;
    display: block;
}

.offer-signature p {
    margin: 0;
    font-size: 12px;
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
    width: 100%;
}

.offer-date {
    text-align: right;
    font-size: 10px;
    color: #718096;
}

.offer-date p {
    margin: 3px 0;
}

.offer-date strong {
    color: #2a5298;
    font-weight: 600;
}

/* Footer Table için özel stiller */
.offer-footer-table {
    width: 100%;
    margin-top: 30px;
    background: #f8fafb;
    border-collapse: collapse;
}

.offer-footer-table td {
    padding: 20px;
    vertical-align: top;
    border: none;
}

.offer-footer-table p {
    margin: 3px 0;
    font-size: 10px;
    color: #718096;
}

.offer-footer-table strong {
    color: #2a5298;
    font-weight: 600;
}

.admin-access-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.1;
    padding: 0;
}

.admin-access-btn:hover {
    opacity: 0.3;
}

/* Admin panel stilleri */
#adminLogTableBody td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

#adminLogTableBody td:hover {
    white-space: normal;
    overflow: visible;
}

/* İndirme bildirimi */
.notification {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    z-index: 2000;
    animation: slideInRight 0.3s ease-out;
    font-weight: 600;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form hints */
.form-hint {
    font-size: 0.85em;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Detaylı Kalem Tablosu için Stiller - Kompakt */
.offer-items-detail {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.offer-items-detail h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 12pt;
}

.items-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 8pt;
    border-radius: 6px;
    overflow: hidden;
}

.items-detail-table th {
    background: #3498db;
    color: white;
    padding: 8px;
    font-weight: 600;
    text-align: left;
    font-size: 9px;
}

.items-detail-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e1e8ed;
    font-size: 10px;
}

.items-detail-table tr:nth-child(even) {
    background: #f1f3f5;
}

.items-detail-table .text-right {
    text-align: right;
}

.items-detail-table .text-center {
    text-align: center;
}

/* Mobil uyumluluk */
@media (max-width: 900px) {
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
    }

    #offerPreview {
        width: 100%;
        min-width: auto;
        padding: 0;
        box-sizing: border-box;
    }

    .offer-header {
        margin: 0;
        padding: 15px;
    }

    .offer-info-box {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 0;
        padding: 10px;
    }

    .info-item {
        font-size: 10px;
    }

    .offer-title {
        font-size: 16px;
    }

    .offer-item {
        flex-direction: column;
    }

    .offer-item .form-group {
        width: 100%;
        min-width: auto;
    }

    .actions {
        flex-wrap: wrap;
    }

    .vat-settings {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-table {
        font-size: 7pt;
    }

    .offer-table th,
    .offer-table td {
        padding: 6px 4px;
    }

    .offer-starbor-link {
        margin: 15px 0;
        padding: 8px;
    }

    .offer-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin: 15px 0;
        padding: 15px;
    }

    .offer-date {
        text-align: center;
    }
}

/* Print Styles - PDF için optimize edilmiş */
@media print {
    @page {
        size: A4;
        margin: 0;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    body {
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #offerPreview {
        width: 210mm;
        min-height: 297mm;
        padding: 0 !important;
        /* Tüm padding kaldırıldı */
        margin: 0;
        box-sizing: border-box;
        page-break-after: always;
    }

    /* Full-width öğeler için özel ayarlar */
    .offer-header {
        margin: 0 !important;
        padding: 15px 20px !important;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .offer-info-box {
        margin: 0 0 15px 0 !important;
        padding: 15px 20px !important;
        background: #f8fafb !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .offer-content {
        padding: 15px 20px !important;
    }

    .offer-starbor-link {
        margin: 15px 0 !important;
        padding: 10px 20px !important;
        background: #5a7fb8 !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .offer-footer {
        margin: 30px 0 0 0 !important;
        padding: 20px !important;
        background: #f8fafb !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    .offer-date {
        flex: 1 1 50% !important;
        text-align: left !important;
    }

    .offer-signature {
        flex: 1 1 50% !important;
        text-align: right !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    .offer-signature * {
        text-align: right !important;
    }

    /* Tablolar ve diğer içerik için padding */
    .offer-section {
        padding: 0 20px;
    }

    .offer-features {
        margin-left: 20px;
        margin-right: 20px;
    }

    .offer-totals-box {
        margin-left: 20px;
        margin-right: 20px;
    }

    .offer-table thead {
        background: linear-gradient(135deg, #2a5298 0%, #3563b8 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .offer-table th {
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Modal ve body ayarları */
    body * {
        margin-top: 0 !important;
    }

    .modal,
    .modal-content {
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        top: 0 !important;
    }

    #offerPreview {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .offer-header {
        margin-top: 0 !important;
        position: relative !important;
        top: 0 !important;
    }

    /* İlk element kontrolü */
    #offerPreview>*:first-child {
        margin-top: 0 !important;
        padding-top: 15px !important;
    }

    .modal-actions,
    .close,
    .no-print {
        display: none !important;
    }

    /* Footer table için print stilleri */
    .offer-footer-table {
        width: 100% !important;
        margin-top: 30px !important;
        background: #f8fafb !important;
        border-collapse: collapse !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .offer-footer-table td {
        padding: 20px !important;
        vertical-align: top !important;
        border: none !important;
    }

    .offer-footer-table td:first-child {
        width: 50% !important;
        text-align: left !important;
    }

    .offer-footer-table td:last-child {
        width: 50% !important;
        text-align: right !important;
    }

    .offer-features,
    .offer-items-detail,
    .product-performance {
        page-break-inside: avoid;
    }
}