/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Arama Çubuğu */
.search-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
}

.search-container {
    max-width: 100%;
    margin: 0 auto;
}


.search-input {
    flex: 1;
    position: relative;
    display: flex;
    font-weight:600;
    align-items: center;
    padding-left: 1rem;
    min-width: 0;
}

.search-icon {
    color: #000000;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.search-input input {
    flex: 1;
    border: none;
    padding: 0.8rem 0;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #000000;
    width: 100%;
}

.search-input input::placeholder {
    color: #000000;
}

.search-btn {
    background: linear-gradient(135deg, #000000, #000000);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 24, 24, 0.4);
}









/* Breadcrumb */
.breadcrumb {
    padding: 5rem 0 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #60a5fa;
}

.breadcrumb i {
    margin: 0 0.6rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

.breadcrumb span {
    color: #1e293b;
    font-weight: 500;
}

/* Ana İçerik */
.main-content {
    padding: 0 0 3rem;
    min-height: calc(100vh - 300px);
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

/* Filtre Sidebar */
.filter-sidebar {
    flex: 0 0 280px;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.filter-sidebar h2 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-size: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.2rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-options {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.filter-options::-webkit-scrollbar {
    width: 4px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 2px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    cursor: pointer;
    padding: 0.2rem 0;
}

.filter-option input {
    margin-right: 0.6rem;
    cursor: pointer;
    accent-color: #3b82f6;
    width: 1rem;
    height: 1rem;
}

.filter-option span {
    font-size: 0.9rem;
    color: #475569;
    transition: color 0.3s ease;
}

.filter-option:hover span {
    color: #3b82f6;
}

/* Fiyat Aralığı */
.price-range {
    padding: 0.5rem 0;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    color: #1e293b;
    outline: none;
    min-width: 0;
}

.price-inputs input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.price-inputs span {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Filtre Butonları */
.filter-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    border-color: #94a3b8;
}

/* Kupon Kodu */
.coupon-section {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.coupon-section h3 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-input-group {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    color: #1e293b;
    outline: none;
    min-width: 0;
}

.coupon-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-coupon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-coupon:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.coupon-message {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    min-height: 1rem;
    color: #64748b;
}

/* Ürünler Bölümü */
.products-section {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.product-count {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: normal;
    margin-left: 0.8rem;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Önerilen Ürünler */
.recommended-products {
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e2e8f0;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

/* Ürün Grid */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.products-header h2 {
    color: #1e293b;
}

.sort-options select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    color: #1e293b;
    font-size: 0.9rem;
    min-width: 160px;
    outline: none;
    cursor: pointer;
}

.sort-options select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

/* Ürün Kartı */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    padding: 0;
}

/* Ürün Resimleri */
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.product-image-slider img:not(.active) {
    opacity: 0;
    z-index: 1;
}

.product-image-slider img.active {
    opacity: 1;
    z-index: 2;
}

/* Ürün Etiketleri */
.discount-badge,
.bestseller-badge {
    position: absolute;
    top: 10px;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5 !important; /* Header'dan düşük olması için */
}

.discount-badge {
    left: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.bestseller-badge {
    right: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Resim Slider Butonları */
.image-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 3;
}

.image-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

.image-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.product-card:hover .image-nav {
    opacity: 1;
}

.image-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.image-nav-btn:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: scale(1.1);
}

/* Ürün Bilgileri */
.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    background: white;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
}

.product-category,
.product-brand {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.product-price {
    margin: 0.6rem 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-height: 2rem;
}

.old-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 0.3rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Fiyat sadece indirimli değilse */
.product-price:only-child .current-price {
    margin-top: auto;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #10b981;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #e2e8f0;
}

.shipping-info i {
    font-size: 0.7rem;
}

/* Sepete Ekle Butonu */
.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0 0 12px 12px;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.add-to-cart i {
    font-size: 0.9rem;
}

/* Ürün Yok */
.no-products {
    text-align: center;
    padding: 2rem 1.5rem;
    grid-column: 1 / -1;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.no-products i {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.no-products h3 {
    margin-bottom: 0.6rem;
    color: #1e293b;
    font-size: 1.2rem;
}

.no-products p {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
}

.no-products a.btn-primary {
    display: inline-block;
    text-decoration: none;
    margin-top: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 1.2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    min-width: 36px;
    text-align: center;
    background: white;
}

.pagination a:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.pagination .active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: #3b82f6;
}

/* Sepet Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    border-left: 1px solid #e2e8f0;
}

.cart-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-modal-header {
    padding: 1.2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.cart-modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.3rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    background: white;
}

.cart-empty {
    text-align: center;
    padding: 2.5rem 1.2rem;
    color: #64748b;
}

.cart-empty i {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cart-empty p {
    font-size: 0.95rem;
    color: #475569;
}

/* Sepet Öğeleri */
.cart-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.8rem;
    background: white;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    padding: 0.3rem;
    border: 1px solid #e2e8f0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
    line-height: 1.3;
}

.cart-item-price {
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5e1;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.quantity-btn.minus:hover,
.quantity-btn.plus:hover {
    background: #3b82f6;
    color: white;
}

.remove-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.05);
}

.cart-modal-footer {
    padding: 1.2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.total-price {
    color: #000000;
    font-size: 1.3rem;
}

.btn-checkout {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-checkout.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-checkout.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 2.5rem 0 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes addToCart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.cart-animation {
    animation: addToCart 0.3s ease;
}

/* Notification */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================== */
/* DİĞER RESPONSIVE AYARLAR */
/* =========================================== */

@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }

    .recommended-grid,
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .recommended-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-sidebar {
        flex: 0 0 260px;
    }

    .product-image {
        height: 180px;
    }

    .product-card {
        min-height: 360px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .filter-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 0;
    }

    .recommended-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cart-modal {
        width: 100%;
    }

    .product-image {
        height: 200px;
    }

    .product-card {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .recommended-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .product-image {
        height: 180px;
    }

    .image-nav {
        opacity: 1;
    }

    .image-nav-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .product-card {
        margin: 0;
        min-height: 350px;
    }

    .sort-options select {
        width: 100%;
        min-width: auto;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #1e293b;
    }

    .product-count {
        font-size: 0.8rem;
        padding: 0.15rem 0.5rem;
    }



    .search-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .search-input input {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .recommended-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        max-width: 100%;
        margin: 0 auto;
        min-height: 340px;
    }

    .filter-sidebar {
        padding: 1.2rem;
    }

    .filter-options {
        max-height: 140px;
    }

    .cart-modal {
        width: 100%;
    }

    .product-image {
        height: 220px;
    }

    .image-dots {
        bottom: 6px;
    }

    .image-dot {
        width: 4px;
        height: 4px;
    }

    .price-inputs input {
        width: 100%;
    }

    .price-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }

    .coupon-input-group {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-coupon {
        width: 100%;
    }

    .product-info {
        padding: 0.8rem;
        min-height: 170px;
    }

    .product-title {
        font-size: 0.9rem;
        height: 2.6rem;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .old-price {
        font-size: 0.8rem;
    }

    .add-to-cart {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .product-image {
        height: 200px;
    }

    .product-card {
        min-height: 330px;
    }

    .product-info {
        min-height: 160px;
    }

    .product-title {
        font-size: 0.85rem;
        height: 2.4rem;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 0.8rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb i {
        margin: 0 0.4rem;
    }
}

/* Print Styles */
@media print {
    .search-section,
    .filter-sidebar,
    .add-to-cart,
    .cart-modal,
    .main-footer {
        display: none;
    }

    .main-content {
        padding: 0;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        background: white;
        color: black;
    }
}