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

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

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

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    color: #f1c40f;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-bar input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background: #f1c40f;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #f39c12;
    transform: translateY(-1px);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.cart-icon i {
    font-size: 1.5rem;
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Categories */
.categories {
    padding: 2rem 0;
    background: white;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: #f1c40f;
}

.category-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Featured Products */
.featured-products {
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,100 0,0 100,100"/></svg>') repeat-x;
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: 0;
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.featured-products h2 i {
    color: #f1c40f;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Masaüstü için 5 ürün sığacak şekilde özel ayar */
@media (min-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.2rem;
    }
}

/* Tablet için 3-4 ürün */
@media (min-width: 768px) and (max-width: 1199px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

.featured-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.featured-product-card::before {
    content: '★';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1c40f;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
    animation: sparkle 3s infinite ease-in-out;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
}

.featured-product-card .product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.featured-product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Öne çıkan ürünlerde galeri desteği */
.featured-product-card .product-image-gallery {
    position: relative;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
}

.featured-product-card .product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.featured-product-card:hover .product-main-image {
    transform: scale(1.1);
}

.featured-product-card .product-info {
    padding: 1rem;
    color: #333;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-product-card .product-name {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.featured-product-card .product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.featured-product-card .current-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e74c3c;
}

.featured-product-card .original-price {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-decoration: line-through;
}

.featured-product-card .discount-badge {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.featured-product-card .add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.featured-product-card .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.featured-product-card .add-to-cart-btn:active {
    transform: translateY(0);
}

/* Products */
.products {
    padding: 2rem 0;
}

/* Pagination Styles */
.pagination-container {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #f1c40f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.2);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    border-color: #f1c40f;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.pagination-dots {
    padding: 0.75rem;
    color: #666;
    font-weight: bold;
}

.pagination-info {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.products h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-bar select {
    padding: 12px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filter-bar select:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-code {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-price {
    margin-bottom: 1rem;
}

.original-price {
    font-size: 1.2rem;
    color: #666;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount-price {
    font-size: 1.5rem;
    color: #2ecc71;
    font-weight: bold;
}

.regular-price {
    font-size: 1.5rem;
    color: #2ecc71;
    font-weight: bold;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #f1c40f;
    border: 2px solid #f1c40f;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

/* Sepet Mesaj Stilleri */
.cart-message {
    padding: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    animation: slideDown 0.3s ease-out;
}

.cart-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.cart-message-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-items {
    padding: 1rem;
    min-height: calc(100vh - 200px);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #666;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f1c40f;
    color: #1a1a1a;
    border-color: #f1c40f;
}

.cart-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.clear-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.clear-cart-btn:active {
    transform: translateY(0);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
}

#checkoutForm {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.order-summary h4 {
    margin-bottom: 1rem;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 5px;
}

.final-total {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    font-size: 1.3rem;
}

.confirm-order-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Image Gallery Modal */
.image-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-gallery-modal.active {
    display: flex;
}

.image-gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.gallery-main-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: #f1c40f;
    transform: scale(1.1);
}

/* Product Image Styles */
.product-image-gallery {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.product-image-gallery:hover .product-main-image {
    transform: scale(1.1);
}

.product-image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.image-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-indicator.active {
    background: #f1c40f;
    transform: scale(1.2);
}

.product-zoom-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-image-gallery:hover .product-zoom-hint {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 0;
    }
    
    .search-bar input {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .search-bar button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .cart-icon {
        padding: 8px;
    }
    
    .cart-icon i {
        font-size: 1.2rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-bar select {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-close {
        top: -50px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-thumbnails {
        padding: 0 10px;
        gap: 5px;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
    
    /* Mobil sepet butonları */
    .cart-actions {
        gap: 8px;
    }
    
    .clear-cart-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .checkout-btn {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    .header .container {
        gap: 0.3rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .search-bar input {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .search-bar button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .cart-icon {
        padding: 6px;
    }
    
    .cart-icon i {
        font-size: 1.1rem;
    }
    
    #cartCount {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .categories h2,
    .products h2,
    .featured-products h2 {
        font-size: 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .featured-product-card {
        border-radius: 10px;
    }
    
    .featured-product-card .product-image,
    .featured-product-card .product-image-gallery {
        height: 120px;
    }
    
    .featured-product-card .product-info {
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .featured-product-card .product-name {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .featured-product-card .current-price {
        font-size: 0.85rem;
    }
    
    .featured-product-card .original-price {
        font-size: 0.7rem;
    }
    
    .featured-product-card .add-to-cart-btn {
        padding: 0.4rem;
        font-size: 0.7rem;
        margin-top: auto;
    }
    
    .category-card {
        padding: 0.8rem;
    }
    
    .category-card h3 {
        font-size: 0.8rem;
    }
    
    .product-card {
        margin: 0;
    }
    
    .product-image {
        height: 120px;
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .product-name {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .product-code {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
    
    .discount-price,
    .regular-price {
        font-size: 0.9rem;
    }
    
    .add-to-cart {
        padding: 8px;
        font-size: 0.7rem;
        border-radius: 15px;
        margin-top: auto;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f1c40f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: #999;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid #3498db;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.privacy-link {
    color: #3498db !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #5dade2 !important;
    text-decoration: underline;
}

/* Privacy Policy Modal Styles */
.privacy-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 2rem auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.privacy-content {
    padding: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.privacy-content h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3rem;
}

.privacy-content ul {
    margin: 0.8rem auto;
    padding-left: 1.5rem;
    text-align: left;
    display: inline-block;
}

.privacy-content li {
    margin: 0.3rem 0;
    text-align: left;
}

.privacy-content p {
    margin: 0.8rem 0;
    text-align: center;
}

.privacy-content a {
    color: #3498db;
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .privacy-modal {
        max-width: 95%;
        margin: 1rem auto;
        top: 0;
        transform: none;
        position: static;
    }
    
    .privacy-content {
        padding: 1rem;
        text-align: center;
    }
}