/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: #2ecc71;
    color: white;
}

.btn-secondary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f5f5f5;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: #3498db;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    position: relative;
    margin-left: 25px;
}

.main-nav a {
    font-weight: 500;
    color: #555;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #3498db;
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.main-nav i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 100;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown-content a {
    color: #555;
    padding: 10px 20px;
    display: block;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    background: transparent;
    width: 200px;
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #555;
}

.search-box button:hover {
    color: #3498db;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.header-icons a {
    font-size: 1.2rem;
    color: #555;
    position: relative;
}

.header-icons a:hover {
    color: #3498db;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.category-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
    line-height: 1.4;
}

.product-author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 15px;
}

.product-price .old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-rating {
    margin-bottom: 15px;
    color: #f39c12;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details, .btn-add-to-cart {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-details {
    background-color: #3498db;
    color: white;
}

.btn-view-details:hover {
    background-color: #2980b9;
}

.btn-add-to-cart {
    background-color: #2ecc71;
    color: white;
}

.btn-add-to-cart:hover {
    background-color: #27ae60;
}

/* Authors Section */
.authors-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.authors-section .section-title {
    color: white;
}

.authors-section .section-title:after {
    background-color: white;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.author-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.author-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid white;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h3 {
    color: white;
    margin-bottom: 5px;
}

.author-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 20px;
}

.newsletter-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #3498db;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #3498db;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #3498db;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #3498db;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
}

.close-modal:hover {
    color: #333;
}

/* Product Details in Modal */
.product-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.product-details-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-details-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-details-info h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-details-author {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.product-details-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 20px;
}

.product-details-price .old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.product-details-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-details-specs {
    margin-bottom: 30px;
}

.product-details-specs h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-details-specs ul {
    list-style: none;
    padding-left: 0;
}

.product-details-specs li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-details-specs li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

.product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background-color: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
}

.quantity-btn:hover {
    background-color: #eee;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    outline: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.product-details-actions {
    display: flex;
    gap: 15px;
}

/* Category Page */
.category-header {
    background-color: #3498db;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.category-header h1 {
    color: white;
    margin-bottom: 20px;
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.category-filters {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #555;
}

.filter-group select {
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #555;
    background-color: white;
    min-width: 150px;
    outline: none;
}

.filter-group select:focus {
    border-color: #3498db;
}

.results-count {
    color: #666;
    font-size: 0.95rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Category Info Cards */
.category-info {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.info-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Product Detail Page */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
    padding: 20px 0;
}

.breadcrumb a {
    color: #3498db;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: #999;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-detail-author {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #f39c12;
}

.product-detail-rating span {
    color: #666;
    font-size: 0.9rem;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 30px;
}

.product-detail-price .old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.product-detail-description,
.product-detail-specs,
.product-detail-features {
    margin-bottom: 30px;
}

.product-detail-description h3,
.product-detail-specs h3,
.product-detail-features h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.product-detail-specs ul,
.product-detail-features ul {
    list-style: none;
    padding-left: 0;
}

.product-detail-specs li,
.product-detail-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-detail-specs li:before,
.product-detail-features li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

.product-detail-specs li strong {
    min-width: 100px;
    display: inline-block;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.product-quantity label {
    font-weight: 500;
    color: #555;
}

.stock-info {
    color: #2ecc71;
    font-weight: 500;
}

/* Reviews Section */
.reviews-container {
    margin-top: 40px;
}

.review-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.average-rating {
    text-align: center;
}

.average-rating h3 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.average-rating .stars {
    color: #f39c12;
    margin-bottom: 10px;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar span:first-child {
    width: 60px;
    color: #666;
}

.rating-bar .bar {
    flex: 1;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background-color: #f39c12;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    color: #666;
}

.reviews-list {
    display: grid;
    gap: 20px;
}

.review-card {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer .stars {
    color: #f39c12;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-card h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.no-results p {
    font-size: 1.2rem;
    color: #666;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1002;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-details, .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .review-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .categories-grid, .products-grid, .authors-grid, .info-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px auto;
    }
    
    .product-details-actions, .product-detail-actions {
        flex-direction: column;
    }
    
    .search-box input {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .categories-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 250px;
    }
    
    .header .container {
        padding: 10px 15px;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .product-detail {
        gap: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}