/* ==================== BREADCRUMB ==================== */
.detail-breadcrumb {
    background: #050505;
    border-bottom: 1px solid #222;
    padding: 18px 5%;
}

.breadcrumb-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
    flex-wrap: wrap;
}

.breadcrumb-inner a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-inner a:hover {
    color: #ccc;
}

.breadcrumb-inner .separator {
    color: #666;
}

.breadcrumb-inner .current {
    color: #999;
}

/* ==================== DETAIL SECTION (BG) ==================== */
.detail-section {
    background: #0a0a0a;
    padding: 50px 20px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ==================== A4 SHEET ==================== */
.a4-sheet {
    background: #ffffff;
    color: #1a1a1a;
    width: 100%;
    max-width: 794px;         /* A4 eni: 210mm ≈ 794px @ 96dpi */
    min-height: 1123px;       /* A4 hündürlüyü: 297mm ≈ 1123px */
    padding: 70px 65px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    font-family: 'Segoe UI', 'Georgia', serif;
    line-height: 1.7;
    position: relative;
}

/* Sheet top: brend + kod */
.sheet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff0000;
    margin-bottom: 35px;
}

.sheet-brand {
    font-size: 28px;
    font-weight: 900;
    color: #ff0000;
    letter-spacing: 4px;
    font-family: sans-serif;
}

.sheet-code {
    font-size: 12px;
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Sheet image */
.sheet-image {
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    background: #f5f5f5;
}

.sheet-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Product title */
.sheet-title {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-align: center;
    font-family: sans-serif;
}

.sheet-subtitle {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: sans-serif;
}

/* Divider */
.sheet-divider {
    width: 60px;
    height: 3px;
    background: #ff0000;
    margin: 30px auto;
}

/* Section headings */
.a4-sheet h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #ff0000;
    font-family: sans-serif;
}

/* Description */
.sheet-description p {
    color: #333;
    font-size: 14.5px;
    margin-bottom: 12px;
    text-align: justify;
}

.sheet-description strong {
    color: #111;
    font-weight: 700;
}

/* Specs table */
.sheet-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sheet-specs td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

.sheet-specs td:first-child {
    font-weight: 600;
    color: #111;
    width: 40%;
    background: #fafafa;
}

.sheet-specs tr:last-child td {
    border-bottom: none;
}

/* Key features */
.sheet-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sheet-features li {
    color: #333;
    font-size: 14.5px;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px dashed #e5e5e5;
}

.sheet-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #ff0000;
    font-weight: 900;
    font-size: 14px;
}

.sheet-features li:last-child {
    border-bottom: none;
}

/* Sheet footer */
.sheet-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.sheet-footer p {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.sheet-footer strong {
    color: #111;
}

.sheet-page {
    color: #999 !important;
    font-size: 11px !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .detail-section {
        padding: 30px 12px;
    }

    .a4-sheet {
        padding: 40px 25px;
        min-height: auto;
    }

    .sheet-top {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .sheet-brand {
        font-size: 22px;
    }

    .sheet-title {
        font-size: 24px;
    }

    .sheet-subtitle {
        font-size: 13px;
    }

    .a4-sheet h2 {
        font-size: 16px;
    }

    .sheet-specs td {
        padding: 8px;
        font-size: 13px;
    }

    .sheet-specs td:first-child {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .a4-sheet {
        padding: 30px 18px;
    }

    .sheet-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .sheet-image img {
        max-height: 260px;
    }

    .sheet-description p,
    .sheet-features li {
        font-size: 13px;
    }
}

/* ==================== LIGHT THEME ==================== */
[data-theme="light"] .detail-breadcrumb {
    background: var(--header-bg);
    border-bottom-color: var(--border-color);
}

[data-theme="light"] .breadcrumb-inner {
    color: var(--text-muted);
}

[data-theme="light"] .breadcrumb-inner a {
    color: var(--text-strong);
}

[data-theme="light"] .breadcrumb-inner a:hover {
    color: #ff0000;
}

[data-theme="light"] .breadcrumb-inner .separator {
    color: var(--text-faint);
}

[data-theme="light"] .breadcrumb-inner .current {
    color: var(--text-muted);
}

[data-theme="light"] .detail-section {
    background: var(--page-bg);
}

[data-theme="light"] .a4-sheet {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ==================== PRINT (A4 output) ==================== */
@media print {
    body * {
        visibility: hidden;
    }

    .a4-sheet,
    .a4-sheet * {
        visibility: visible;
    }

    .detail-section {
        padding: 0;
        background: #fff;
    }

    .a4-sheet {
        box-shadow: none;
        padding: 20mm;
        max-width: 100%;
        min-height: auto;
    }
}

/* ==================== LIGHT THEME (detail pages) ==================== */
[data-theme="light"] .detail-breadcrumb {
    background: var(--surface);
    border-bottom-color: var(--border-color);
}

[data-theme="light"] .breadcrumb-inner {
    color: var(--text-muted);
}

[data-theme="light"] .breadcrumb-inner a {
    color: var(--text-strong);
}

[data-theme="light"] .breadcrumb-inner a:hover {
    color: #ff0000;
}

[data-theme="light"] .breadcrumb-inner .separator {
    color: var(--text-faint);
}

[data-theme="light"] .breadcrumb-inner .current {
    color: var(--text-muted);
}

[data-theme="light"] .detail-section {
    background: var(--page-bg);
}

[data-theme="light"] .a4-sheet {
    box-shadow: 0 12px 40px rgba(20, 23, 28, 0.14);
}

[data-theme="light"] .sheet-code {
    color: #6b7280;
}

[data-theme="light"] .sheet-subtitle {
    color: #6b7280;
}
