*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:#f9fafb;color:#333;line-height:1.6}a{text-decoration:none;color:inherit}.container{width:90%;max-width:1200px;margin:0 auto;padding:1rem 0}header{background:#2563eb;color:#fff;padding:1rem 0;text-align:center;font-size:1.5rem;font-weight:700}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.5rem;margin-top:1rem}.book-card{background:#fff;border-radius:12px;box-shadow:0 2px 6px #0000001a;padding:1rem;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;justify-content:space-between}.book-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #00000026}.book-card img{width:100%;height:250px;object-fit:contain;margin-bottom:.75rem}.book-card h3{font-size:1rem;font-weight:600;margin-bottom:.5rem;color:#111827}.book-card p{font-size:.9rem;margin-bottom:.3rem}.book-card .price{font-weight:700;color:#2563eb}.search-filter{background:#fff;padding:1rem;border-radius:10px;box-shadow:0 1px 4px #00000014;margin-bottom:1rem;display:flex;flex-wrap:wrap;gap:1rem}.search-filter input[type=text],.search-filter select{padding:.6rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;flex:1}.search-filter label{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.search-filter input[type=checkbox]{width:16px;height:16px}.pagination{display:flex;justify-content:center;align-items:center;margin:2rem 0;gap:.5rem}.pagination button{padding:.6rem 1rem;border:none;border-radius:8px;background:#e5e7eb;cursor:pointer;transition:background .2s,transform .1s;font-size:.9rem}.pagination button:hover{background:#d1d5db;transform:translateY(-1px)}.pagination button:disabled{background:#2563eb;color:#fff;cursor:default}.pagination .dots{padding:.6rem .8rem;color:#6b7280;font-weight:700}.details-page{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;max-width:800px;margin:2rem auto;display:flex;flex-wrap:wrap;gap:2rem}.details-page img{width:250px;height:auto;object-fit:contain;border-radius:8px}.details-content{flex:1}.details-content h1{font-size:1.8rem;margin-bottom:1rem;color:#111827}.details-content p{margin-bottom:.75rem;font-size:1rem}.details-content a{display:inline-block;margin-top:1rem;padding:.6rem 1rem;background:#2563eb;color:#fff;border-radius:8px;transition:background .2s}.details-content a:hover{background:#1e40af}@media (max-width: 768px){.details-page{flex-direction:column;align-items:center}.details-page img{width:100%;max-width:300px}}
