.s4-page {
    background: #f5f3f0;
    padding: 24px 0 64px;
}
.s4-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.s4-gallery-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 32px;
    position: sticky;
    top: 20px;
}
.s4-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    padding: 0 1rem;
}
.s4-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.s4-badge-indirim {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color, #ef4723);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 0 16px 0 12px;
    letter-spacing: .5px;
    z-index: 2;
}
.s4-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0eeeb;
    flex-wrap: wrap;
}
.s4-gallery-dot {
    width: 72px;
    height: 72px;
    border: 2px solid #e8e5e1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    background: #fff;
    flex-shrink: 0;
}
.s4-gallery-dot:hover { border-color: #ccc; }
.s4-gallery-dot.is-active { border-color: var(--primary-color, #ef4723); }
.s4-gallery-dot img { width: 100%; height: 100%; object-fit: cover; }
.s4-video-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    margin-top: 14px;
    text-decoration: none;
}
.s4-video-btn:hover {
    background: #f5f5f5;
    color: #666;
    border-color: #aaa;
}
.s4-video-btn i { font-size: 15px; }
.s4-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 32px;
}
.s4-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.s4-breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color .2s;
}
.s4-breadcrumb a:hover { color: var(--primary-color, #ef4723); }
.s4-breadcrumb .s4-bc-sep { color: #ccc; font-size: 10px; }
.s4-breadcrumb .s4-bc-current { color: #666; font-weight: 500; }
.s4-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin: 0 0 6px;
}
.s4-short-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
    margin: 0 0 14px;
}
.s4-authors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.s4-author-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5f3f0;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.s4-author-pill:hover {
    background: var(--primary-color, #ef4723);
    color: #fff;
    text-decoration: none;
}
.s4-author-more {
    border: 1px dashed #ccc;
    background: transparent;
    color: #888;
    cursor: pointer;
    font-size: 13px;
}
.s4-author-more:hover {
    border-color: var(--primary-color, #ef4723);
    color: var(--primary-color, #ef4723);
    background: transparent;
}
.s4-kunye-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fafaf8;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}
.s4-kunye-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    white-space: nowrap;
}
.s4-kunye-item:first-child { padding-left: 0; }
.s4-kunye-item:last-child { padding-right: 0; }
.s4-kunye-divider {
    width: 1px;
    height: 18px;
    background: #ddd;
    flex-shrink: 0;
}
.s4-kunye-item i {
    color: var(--primary-color, #ef4723);
    font-size: 13px;
}
.s4-kunye-item strong {
    color: #333;
    font-weight: 600;
}
.s4-price-section {
    border-left: 4px solid var(--primary-color, #ef4723);
    padding: 20px 24px;
    background: #fdfcfb;
    border-radius: 0 12px 12px 0;
    margin-bottom: 24px;
}
.s4-price-old {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 4px;
}
.s4-price-tek {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 8px;
}
.s4-price-tek span {
    text-decoration: none;
    font-weight: 500;
}
.s4-price-current-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.s4-price-amount {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -2px;
}
.s4-price-currency {
    font-size: 22px;
    font-weight: 600;
    color: #888;
}
.s4-savings-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2ef;
    color: var(--primary-color, #ef4723);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
}
.s4-savings-pill i { font-size: 12px; }
.s4-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color, #ef4723);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 10px;
    letter-spacing: .3px;
}
.s4-cta:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(239,71,35,.3);
}
.s4-cta:active { opacity: .9; }
.s4-cta-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 12px;
    background: #ddd;
    color: #999;
    font-size: 18px;
    font-weight: 700;
    cursor: not-allowed;
    margin-bottom: 10px;
}
.s4-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
}
.s4-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.s4-trust-item i {
    color: var(--primary-color, #ef4723);
    font-size: 13px;
}
.s4-trust-dot {
    color: #ddd;
    font-size: 10px;
}
.s4-section {
    margin-top: 48px;
}
.s4-section-header {
    margin-bottom: 28px;
}
.s4-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.s4-section-sub {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.s4-section-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 16px 0 24px;
    max-width: 700px;
}
.s4-books-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.s4-books-grid[data-count="1"] .s4-book-card { width: calc(100% / 1 - 20px); max-width: 220px; }
.s4-books-grid[data-count="2"] .s4-book-card { width: calc(100% / 3 - 20px); }
.s4-books-grid[data-count="3"] .s4-book-card { width: calc(100% / 3 - 20px); }
.s4-books-grid[data-count="4"] .s4-book-card { width: calc(100% / 4 - 20px); }
.s4-books-grid[data-count="5"] .s4-book-card { width: calc(100% / 5 - 20px); }
.s4-books-grid[data-count="6"] .s4-book-card { width: calc(100% / 6 - 20px); }
.s4-books-grid[data-count="7"] .s4-book-card,
.s4-books-grid[data-count="8"] .s4-book-card,
.s4-books-grid[data-count="9"] .s4-book-card,
.s4-books-grid[data-count="10"] .s4-book-card,
.s4-books-grid[data-many] .s4-book-card { width: calc(100% / 5 - 20px); }
.s4-book-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.s4-book-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.s4-book-cover {
    aspect-ratio: 4/5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
}
.s4-book-cover img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform .3s;
}
.s4-book-qty {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}
.s4-book-disc {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color, #ef4723);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}
.s4-book-body { padding: 12px 16px; }
.s4-book-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 4px;
}
.s4-book-name:hover { color: var(--primary-color, #ef4723); }
.s4-book-writer {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s4-book-writer a { color: #aaa; text-decoration: none; }
.s4-book-writer a:hover { color: var(--primary-color, #ef4723); }
.s4-book-pricing { display: flex; align-items: baseline; gap: 8px; }
.s4-book-new {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color, #ef4723);
}
.s4-book-old {
    font-size: 12px;
    color: #ccc;
    text-decoration: line-through;
}
.s4-about-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 32px;
}
.s4-about-text {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    max-width: 760px;
}
.s4-admin-edit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.footer-section { margin-top: 0; }
.s4-section .custom-kitap-list .product {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.s4-section .custom-kitap-list .image-hover {
    background: #fff;
    border-radius: 14px 14px 0 0;
}
@media (max-width: 991px) {
    .s4-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .s4-gallery-card {
        position: static;
    }
    .s4-gallery-main {
        height: 340px;
    }
    .s4-title { font-size: 26px; }
    .s4-price-amount { font-size: 42px; }
    .s4-kunye-strip { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
    .s4-kunye-divider { display: none; }
    .s4-kunye-item { padding: 4px 0; }
}
@media (max-width: 575px) {
    .s4-page { padding: 16px 0 48px; }
    .s4-gallery-card, .s4-info-card { padding: 20px; border-radius: 12px; }
    .s4-gallery-main { height: 280px; }
    .s4-gallery-dot { width: 56px; height: 56px; }
    .s4-title { font-size: 22px; }
    .s4-price-amount { font-size: 38px; letter-spacing: -1px; }
    .s4-price-section { padding: 16px 18px; }
    .s4-cta { height: 50px; font-size: 16px; }
    .s4-trust {
        font-size: 11px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }
    .s4-trust-dot { display: none; }
    .s4-trust-item { justify-content: center; }
    .s4-books-grid {
        gap: 10px;
    }
    .s4-books-grid .s4-book-card { width: calc(50% - 10px) !important; max-width: none !important; }
    .s4-book-body { padding: 12px; }
    .s4-book-name { font-size: 13px; }
    .s4-section { margin-top: 32px; }
    .s4-section-title { font-size: 20px; }
    .s4-about-card { padding: 20px; border-radius: 12px; }
    .s4-authors { gap: 6px; }
    .s4-author-pill { font-size: 12px; padding: 4px 12px; }
}
