:root {
    --primary-color: #5d5fef;
    --secondary-color: #6c757d;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --base-font-size: 1rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 100%;
  }
  
  body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: var(--base-font-size);
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  .btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #4d4fdf;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  
  header {
    background-color: white;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
  }
  
  header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
  }
  
  .logo h1 {
    color: #333;
    font-size: 1.5rem;
    white-space: nowrap;
  }

.logo img {
  height: 180px;
  width: 180px;
}
  
  nav {
    width: 100%;
    margin: 0.75rem 0;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  nav ul li a {
    color: #333;
    padding: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
  }
  
  nav ul li a:hover {
    color: #007bff;
  }
  
  nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.125rem;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  .user-cart {
    display: flex;
    gap: 1rem;
  }
  
  .user-cart a {
    color: #333;
    transition: color 0.3s;
    font-size: 0.95rem;
  }
  
  .user-cart a:hover {
    color: #007bff;
  }
  
  .slider {
    position: relative;
    height: 25rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(0.3125rem);
    transform: translateY(1.25rem);
    opacity: 0;
    transition: all 0.8s ease;
  }
  
  .slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
  }
  
  .slide-content .btn {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
  }
  
  .slider-nav {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
  }
  
  .slider-nav button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .featured-products {
    margin: 3rem 0;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
    color: var(--dark-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    position: relative;
  }
  
  .section-title h2::after {
    content: '';
    position: absolute;
    width: 3rem;
    height: 0.125rem;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
 
  
  .price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .old-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--secondary-color);
  }
  
  .add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .footer-section h3::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: 0.125rem;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
  }
  
  .footer-section p, .footer-section a {
    color: #b1b1b1;
    margin-bottom: 0.5rem;
    display: block;
    transition: var(--transition);
    font-size: 0.95rem;
  }
  
  .footer-section a:hover {
    color: white;
    padding-left: 0.25rem;
  }
  
  .copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    color: #b1b1b1;
  }
  

  .discount-info {
    margin-bottom: 1.875rem; /* 30px → 1.875rem */
}

.discount-banner {
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    color: white;
    padding: 1.25rem; /* 20px → 1.25rem */
    border-radius: 0.625rem; /* 10px → 0.625rem */
    text-align: center;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1); /* 4px 15px → 0.25rem 0.9375rem */
    margin: 0 auto;
    max-width: 100%;
}

.discount-banner i {
    font-size: 2.5rem; /* 40px → 2.5rem */
    margin-bottom: 0.9375rem; /* 15px → 0.9375rem */
}

.discount-banner h2 {
    font-size: 1.5rem; /* 24px → 1.5rem */
    margin-bottom: 0.625rem; /* 10px → 0.625rem */
    line-height: 1.3;
}

.discount-banner p {
    font-size: 1rem; /* 16px → 1rem */
    opacity: 0.9;
    margin: 0 auto;
    max-width: 90%;
}


.discount-badge {
    position: absolute;
    top: 0.625rem; 
    right: 0.625rem; 
    background-color: #e74c3c;
    color: white;
    padding: 0.3125rem 0.625rem; 
    border-radius: 0.3125rem; 
    font-size: 0.875rem; 
    font-weight: bold;
    z-index: 2;
}

.no-products {
    text-align: center;
    padding: 3.125rem 0; 
}

.no-products i {
    font-size: 3.125rem; 
    color: #ddd;
    margin-bottom: 1.25rem; 
}

.no-products p {
    font-size: 1.125rem; 
    margin-bottom: 1.25rem; 
    color: var(--secondary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 15px 0;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e63946;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.new-season-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2a9d8f;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    flex-grow: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #2a9d8f;
    margin-top: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.add-to-cart {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
}

.add-to-cart:hover {
    background: #333;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .product-image-container {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 16px;
    }
}

@media (max-width: 48em) { 
    .discount-banner {
        padding: 1rem; 
    }
    
    .discount-banner i {
        font-size: 2rem;
    }
    
    .discount-banner h2 {
        font-size: 1.25rem;
    }
    
    .no-products {
        padding: 2rem 0;
    }
    
    .no-products i {
        font-size: 2.5rem;
    }
    
    .no-products p {
        font-size: 1rem;
    }
}

@media (max-width: 36em) { 
    .discount-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}


  @media (min-width: 48rem) {
    header .container {
      flex-direction: row;
      justify-content: space-between;
      padding: 1rem 1.25rem;
    }
    
    nav {
      margin: 0;
    }
    
    nav ul {
      gap: 1.5rem;
    }
    
    .slider {
      height: 31.25rem;
    }
    
    .slide-content {
      max-width: 25rem;
    }
    
    .slide-content h2 {
      font-size: 2rem;
    }
  }
  
  @media (min-width: 62rem) {
    .slide-content {
      max-width: 31.25rem;
      left: 3.75rem;
    }
    
    .slide-content h2 {
      font-size: 2.2rem;
    }
    
    .footer-content {
      grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
  }
  
  @media (min-width: 75rem) {
    .container {
      padding: 0 2rem;
    }
  }