* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    width: 100%;
    max-width: none;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.site-footer {
    width: 100%;
    max-width: none;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: none;
    min-height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.site-header,
.banner-section {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.banner-section {
    width: 100% !important;
    min-height: 400px;
}

.banner-wrapper {
    width: 100%;
    margin: 0;
    position: relative;
}

.banner-slider {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    min-height: 400px;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.header-top::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo a {
    color: #333;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0;
    margin-right: auto;
}

.search-bar form {
    display: flex;
    gap: 5px;
}

.search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    min-height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.search-bar button {
    padding: 8px 15px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    min-height: 40px;
    min-width: 40px;
    -webkit-tap-highlight-color: transparent;
}

.search-bar button:hover {
    background: #b91c1c;
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    margin-left: 20px;
}

.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: color 0.3s;
    gap: 3px;
    min-height: 44px;
    min-width: 44px;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.action-link:hover {
    color: #dc2626;
}

.action-link:active {
    opacity: 0.7;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

.action-link.touching {
    opacity: 0.7;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.action-link i {
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
}

.main-nav {
    padding: 10px 0;
    background: #f9fafb;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

#mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

#mobile-menu-btn:hover {
    color: #dc2626;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-overlay {
        pointer-events: auto !important;
    }
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto !important;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: left 0.3s;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    left: 0;
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    z-index: 10001;
    position: relative;
}

.mobile-menu-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

#mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    transition: color 0.3s;
    z-index: 10001;
    position: relative;
}

#mobile-menu-close:hover {
    color: #dc2626;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    pointer-events: auto !important;
    z-index: 10000;
    position: relative;
}

.mobile-nav ul li a:hover {
    background: #dc2626;
    color: white;
}

.mobile-nav ul li a i {
    width: 20px;
    text-align: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.banner-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.categories-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.categories-sidebar h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 10px;
}

.categories-sidebar ul {
    list-style: none;
}

.categories-sidebar ul li {
    margin-bottom: 5px;
}

.categories-sidebar ul li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.categories-sidebar ul li a:hover {
    background: #dc2626;
    color: white;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.category-header h2 {
    font-size: 24px;
    color: #333;
}

.view-all {
    color: #dc2626;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.view-all:hover {
    color: #b91c1c;
}

.category-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.new-books-section,
.popular-books-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.book-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.book-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.book-card:active {
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
}

.book-card.touching {
    opacity: 0.8;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.book-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.book-card:hover .book-actions {
    opacity: 1;
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 35px;
    min-height: 35px;
    -webkit-tap-highlight-color: transparent;
}

.action-btn:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.action-btn:active {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
}

.action-btn.touching {
    opacity: 0.7;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.action-btn.favorite:hover {
    background: #dc2626;
    color: white;
}

.book-link {
    display: block;
    position: relative;
    padding-top: 140%;
}

.book-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    padding: 15px;
}

.book-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.book-info h3 a {
    text-decoration: none;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.book-info h3 a:hover {
    color: #dc2626;
}

.book-author {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.book-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 10px 0;
}

.view-detail {
    display: block;
    width: 100%;
    padding: 12px 8px;
    background: white;
    color: #333;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
    margin-bottom: 5px;
    min-height: 44px;
    line-height: 20px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.view-detail:hover {
    background: #f5f5f5;
    border-color: #dc2626;
    color: #dc2626;
}

.view-detail:active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.view-detail.touching {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

.current-price {
    color: #dc2626;
    font-size: 18px;
    font-weight: bold;
}

.add-to-cart {
    display: block;
    width: 100%;
    padding: 12px 8px;
    background: #dc2626;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s;
    min-height: 44px;
    line-height: 20px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.add-to-cart:hover {
    background: #b91c1c;
}

.add-to-cart:active {
    background: #991b1b;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.add-to-cart.touching {
    background: #991b1b;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Samsung tarayıcı mobil optimizasyonları */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    * {
        -webkit-tap-highlight-color: rgba(220, 38, 38, 0.1);
    }
    
    a, button, input {
        -webkit-tap-highlight-color: transparent;
    }
    
    .search-bar input:focus,
    .search-bar button:focus {
        outline: none;
        -webkit-box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    }
    
    .nav-link {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .book-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .footer-links a,
    .footer-bottom p {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}

/* Samsung Internet Explorer optimizasyonları */
@media screen and (-ms-view-state: max) {
    .site-header {
        position: fixed;
        width: 100%;
    }
    
    .main-nav {
        display: -ms-flexbox;
        -ms-flex-wrap: wrap;
        -ms-flex-pack: center;
    }
    
    .books-grid {
        display: -ms-grid;
        -ms-grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media screen and (-ms-high-contrast: active) {
    .site-header {
        border-bottom: 2px solid windowText;
    }
    
    .nav-link {
        border: 2px solid windowText;
    }
}

/* Safari ve Chrome mobil optimizasyonları */
@supports (-webkit-backdrop-filter: blur(10px)) {
    .site-header {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
        justify-content: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 0 0 auto;
        min-width: 120px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
    }
    
    .logo img {
        max-height: 40px;
        -webkit-max-height: 40px;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .user-actions {
        display: none !important;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        flex: 1 1 100%;
        margin: 10px 0 0;
        -webkit-order: 3;
        -ms-order: 3;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 8px 10px;
        min-height: 36px;
    }
    
    .search-bar button {
        padding: 8px 12px;
        min-height: 36px;
        min-width: 36px;
        font-size: 12px;
    }
    
    .logo {
        flex: 0 0 auto;
        min-width: 120px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
    }
    
    .logo img {
        max-height: 40px;
        -webkit-max-height: 40px;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .user-actions {
        display: none !important;
    }
    
    .search-bar {
        order: 2;
        width: auto;
        flex: 1;
        max-width: 300px;
        margin: 0 10px;
        margin-left: auto;
        margin-right: auto;
        -webkit-order: 2;
        -ms-order: 2;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 8px 10px;
        min-height: 36px;
    }
    
    .search-bar button {
        padding: 8px 12px;
        min-height: 36px;
        min-width: 36px;
        font-size: 12px;
    }
    
    .action-link span {
        font-size: 10px;
    }
    
    .main-nav {
        display: flex !important;
        order: 5;
        width: 100%;
        background: #fff5f5;
        border-top: 3px solid #dc2626;
        border-bottom: 1px solid #dc2626;
        padding: 15px 10px;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        -webkit-order: 5;
        -ms-order: 5;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 12px 18px !important;
        background: #dc2626 !important;
        color: white !important;
        border: 2px solid #dc2626;
        border-radius: 25px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        flex-direction: row !important;
        gap: 8px !important;
        transition: all 0.3s;
        box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
        min-width: auto;
        min-height: 44px;
        -webkit-box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .nav-link:hover {
        background: white !important;
        color: #dc2626 !important;
        border-color: #dc2626 !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
        -webkit-box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
        -webkit-transform: translateY(-2px);
    }
    
.nav-link:active {
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
}

.nav-link.touching {
    opacity: 0.8;
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

.nav-link span {
        font-size: 13px !important;
    }
    
    .nav-link i {
        font-size: 14px !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
.banner-section {
    margin: 0 0;
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    position: relative;
}

.banner-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.banner-slider {
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    min-height: 400px;
    width: 100%;
}

.content-section {
    padding: 20px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}

.content-section {
    padding: 20px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}
    
    .sidebar {
        display: none;
    }
    
    .banner-slider {
        padding: 30px 20px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .category-section,
    .new-books-section,
    .popular-books-section {
        padding: 20px 15px;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        -webkit-grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        -ms-grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        -webkit-grid-template-columns: 1fr;
        -ms-grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5px;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .book-link img {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (hover: none) and (pointer: coarse) {
    .nav-link:active {
        background: #b91c1c !important;
    }
    
    .action-btn:active {
        background: #b91c1c !important;
        color: white !important;
    }
    
    .add-to-cart:active {
        background: #991b1b;
    }
}
    
    .logo {
        flex: 1;
        min-width: 120px;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    
    .user-actions {
        gap: 8px;
        margin-right: 50px;
    }
    
    .search-bar {
        order: 4;
        width: 100%;
        margin: 10px 0 0;
    }
    
    .search-bar input {
        font-size: 14px;
    }
    
    .user-actions {
        gap: 8px;
    }
    
    .action-link span {
        font-size: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    #mobile-menu-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s;
    }
    
    #mobile-menu-btn:hover {
        color: #dc2626;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .banner-slider {
        padding: 30px 20px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .category-section,
    .new-books-section,
    .popular-books-section {
        padding: 20px 15px;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5px;
    }
}
    
    .search-bar {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .user-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.site-header {
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-bottom: 2px solid #f0f0f0;
}

.site-footer {
    width: 100%;
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #444;
}

.header-top {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
}

.header-info a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.header-info a:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.btn-small:hover {
    background: rgba(255,255,255,0.3);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
}

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-box form {
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
}

.search-box button {
    padding: 12px 20px;
    background: #5a67d8;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.main-nav {
    background: rgba(0,0,0,0.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.main-nav li a:hover {
    background: rgba(255,255,255,0.1);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-link {
    color: #667eea;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.categories-section,
.books-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card a {
    text-decoration: none;
    color: #333;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #667eea;
}

.category-card p {
    color: #666;
    font-size: 14px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.book-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-image {
    position: relative;
    padding-top: 150%;
    background: #f0f0f0;
}

.book-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0,0,0,0.5);
    transition: background 0.3s;
}

.btn-action:hover {
    background: #667eea;
}

.btn-action.active {
    background: #e74c3c;
}

.book-info {
    padding: 15px;
}

.book-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.book-info h3 a {
    text-decoration: none;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-info h3 a:hover {
    color: #667eea;
}

.book-author,
.book-publisher {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.book-author a,
.book-publisher a {
    text-decoration: none;
    color: #666;
}

.book-author a:hover,
.book-publisher a:hover {
    color: #667eea;
}

.book-price,
.book-price-discount {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-top: 10px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 10px;
}

.new-price {
    color: #e74c3c;
}

.breadcrumb {
    background: #f0f0f0;
    padding: 15px 0;
}

.breadcrumb a,
.breadcrumb span {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #667eea;
}

.book-detail {
    padding: 40px 0;
}

.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.book-gallery {
    position: sticky;
    top: 20px;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-details h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.book-meta p {
    margin-bottom: 10px;
    color: #666;
}

.book-meta a {
    color: #667eea;
    text-decoration: none;
}

.book-meta a:hover {
    text-decoration: underline;
}

.book-prices {
    margin: 20px 0;
}

.current-price {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
}

.book-specs {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.book-specs table {
    width: 100%;
}

.book-specs td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.book-specs td:first-child {
    font-weight: bold;
    width: 150px;
}

.book-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.pazaryerleri-section,
.book-description,
.book-topics,
.book-versions,
.related-books {
    margin-top: 40px;
}

.pazaryerleri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.pazaryeri-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pazaryeri-card:hover {
    transform: translateY(-3px);
}

.pazaryeri-card img {
    max-height: 50px;
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: white;
    text-decoration: none;
    border-radius: 5px;
    color: #333;
}

.pagination a:hover,
.pagination span.active {
    background: #667eea;
    color: white;
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #eee;
}

.compare-table th {
    background: #f0f0f0;
}

.compare-book {
    text-align: center;
}

.compare-book img {
    max-width: 100px;
    margin-bottom: 10px;
}

.compare-book a {
    display: block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 5px;
}

.btn-remove {
    color: #e74c3c;
    text-decoration: none;
}

.no-results {
    text-align: center;
    padding: 60px 0;
    color: #666;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.main-footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: #667eea;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #aaa;
}

.page-content {
    padding: 40px 0;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.page-body {
    background: white;
    padding: 30px;
    border-radius: 10px;
    line-height: 1.8;
}

.search-page,
.favorites-page {
    padding: 40px 0;
}

.search-header {
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.search-tabs a {
    padding: 8px 20px;
    background: white;
    text-decoration: none;
    border-radius: 20px;
    color: #666;
}

.search-tabs a.active {
    background: #667eea;
    color: white;
}

.search-section {
    margin-top: 40px;
}

.authors-grid,
.publishers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.author-card,
.publisher-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.author-card:hover,
.publisher-card:hover {
    transform: translateY(-3px);
}

.author-card img,
.publisher-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.no-photo {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ccc;
}

.author-card h4,
.publisher-card h4 {
    font-size: 14px;
}

.author-page,
.publisher-page {
    padding: 40px 0;
}

.author-header,
.publisher-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.author-photo img,
.publisher-logo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info,
.publisher-info {
    flex: 1;
}

.author-title,
.publisher-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.author-bio,
.publisher-desc {
    color: #666;
    line-height: 1.8;
}

.btn-cart {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    width: 100%;
}

.btn-cart:hover {
    background: #229954;
}

.btn-cart i {
    margin-right: 5px;
}

.add-to-cart-form {
    margin-top: 10px;
}

.user-menu {
    position: relative;
}

.user-menu button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1000;
    margin-top: 5px;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.user-dropdown a:hover {
    background: #f8f9fa;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown i {
    width: 20px;
    color: #667eea;
}

.banner-section {
    margin: 20px 0;
    width: 100%;
    min-height: 400px;
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    overflow: hidden;
    color: white;
}

.banner-slider {
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    min-height: 400px;
}

.banner-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 80px 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 80px 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-slide.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0, 0.2);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0, 0.2);
}

.banner-btn {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #dc2626;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.banner-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.banner-nav:active {
    transform: scale(0.95);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .banner-slider {
        min-height: 300px;
        padding: 60px 30px;
    }
    
    .banner-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .banner-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .banner-btn {
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-controls {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        min-height: 250px;
        padding: 50px 20px;
    }
    
    .banner-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .banner-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
        min-width: 35px;
        min-height: 35px;
    }
    
    .banner-dot {
        width: 8px;
        height: 8px;
    }
}

.banner-slider {
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.banner-slide {
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #dc2626;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 0;
        justify-content: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        align-items: center;
        -webkit-align-items: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 0 0 auto;
        min-width: 120px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
    }
    
    .logo img {
        max-height: 40px;
        -webkit-max-height: 40px;
    }
    
    .search-bar {
        width: 100%;
        order: 3;
        margin: 10px 0 0;
        -webkit-order: 3;
        -ms-order: 3;
    }
    
    .user-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .banner-section {
        margin-bottom: 20px;
    }
    
    .banner-slider {
        min-height: 300px;
        padding: 60px 30px;
    }
    
    .banner-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .banner-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .content-section {
        padding: 10px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar {
        display: none !important;
    }
    
    .main-nav {
        display: flex !important;
        order: 4;
        width: 100%;
        background: #fff5f5;
        border-top: 3px solid #dc2626;
        border-bottom: 1px solid #dc2626;
        padding: 15px 10px;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        -webkit-order: 4;
        -ms-order: 4;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 12px 18px !important;
        background: #dc2626 !important;
        color: white !important;
        border: 2px solid #dc2626;
        border-radius: 25px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        flex-direction: row !important;
        gap: 8px !important;
        transition: all 0.3s;
        box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
        min-width: auto;
        min-height: 44px;
        -webkit-box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .nav-link:hover {
        background: white !important;
        color: #dc2626 !important;
        border-color: #dc2626 !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
        -webkit-box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
        -webkit-transform: translateY(-2px);
    }
    
    .nav-link:active {
        transform: scale(0.98);
        -webkit-transform: scale(0.98);
    }
    
    .nav-link span {
        font-size: 13px !important;
    }
    
    .nav-link i {
        font-size: 14px !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .banner-controls {
        padding: 0 10px;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        font-size: 16px;
    }
    
    .banner-dots {
        bottom: 10px;
    }
    
    .category-section,
    .new-books-section,
    .popular-books-section {
        padding: 15px;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        -webkit-grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        -ms-grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        -webkit-grid-template-columns: 1fr;
        -ms-grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5px;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
    }
}
    
    .search-box {
        margin: 0;
        max-width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
    }
    
    .book-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .author-header,
    .publisher-header {
        flex-direction: column;
        text-align: center;
    }
}
