/* ============================================
   TEMPLATE ACCESSORIES - STRONA AKCESORIÓW
   ============================================ */

/* Page Header */
.page-header-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0 40px;
    text-align: center;
    color: white;
}

.page-header-section .page-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.page-header-section .page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Page Intro */
.page-intro-section {
    padding: 60px 0;
    background: #f7fafc;
}

.page-intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff 0%, #0066ff 100%);
    border-radius: 2px;
}

/* ============================================
   TABELA SPECYFIKACJI
   ============================================ */

.specifications-table-section {
    padding: 80px 0;
    background: white;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.specs-table thead {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.specs-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table thead th:last-child {
    border-right: none;
}

.specs-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.specs-table tbody tr:hover {
    background: #f7fafc;
}

.specs-table tbody tr:last-child {
    border-bottom: none;
}

.specs-table tbody td {
    padding: 16px 20px;
    font-size: 15px;
    color: #2d3748;
    border-right: 1px solid #e2e8f0;
}

.specs-table tbody td:last-child {
    border-right: none;
}

.specs-table tbody td:first-child {
    font-weight: 600;
    color: #1a202c;
}

/* ============================================
   LISTA AKCESORIÓW
   ============================================ */

.accessories-section {
    padding: 80px 0;
    background: #f7fafc;
}

.accessories-list {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.accessory-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.accessory-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accessory-image {
    width: 100%;
    height: 200px;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.accessory-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accessory-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 15px 0;
}

.accessory-description {
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.accessory-description ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.accessory-description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.accessory-description ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.accessory-price {
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    margin-top: auto;
}

/* ============================================
   KONFIGURACJA ZESTAWU
   ============================================ */

.configuration-section {
    padding: 80px 0;
    background: white;
}

.configuration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.configuration-table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.configuration-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.configuration-table thead {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.configuration-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.configuration-table thead th:last-child {
    text-align: center;
    width: 100px;
}

.configuration-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.configuration-table tbody tr:last-child {
    border-bottom: none;
}

.configuration-table tbody td {
    padding: 16px 20px;
    font-size: 15px;
    color: #2d3748;
}

.configuration-table tbody td.text-center {
    text-align: center;
    font-weight: 600;
}

.configuration-table tfoot .total-row {
    background: #f7fafc;
}

.configuration-table tfoot .total-row td {
    padding: 20px;
    font-size: 18px;
    color: #1a202c;
}

.configuration-table tfoot .total-row td:last-child {
    color: #00d4ff;
    font-size: 22px;
}

.configuration-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.configuration-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */

.page-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 0 30px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .page-header-section .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .accessory-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accessory-image {
        height: 250px;
    }
    
    .configuration-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 40px 0 30px;
    }
    
    .page-header-section .page-title {
        font-size: 28px;
    }
    
    .page-header-section .page-subtitle {
        font-size: 16px;
    }
    
    .specifications-table-section,
    .accessories-section,
    .configuration-section,
    .page-cta-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .specs-table thead th,
    .specs-table tbody td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .accessory-name {
        font-size: 20px;
    }
    
    .accessory-description {
        font-size: 15px;
    }
    
    .accessory-price {
        font-size: 18px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons a {
        width: 100%;
    }
}