/* assets/css/style.css */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --border-color: #e5e7eb;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Header & Navigation */
  header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
  }
  
  /* Product Grid */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-image {
    aspect-ratio: 1;
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
  }
  
  .btn-primary {
    background: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background: var(--secondary-color);
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
  }

  /* Quantity Controls */
  .quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
  }
  
  .quantity-control .form-control {
    text-align: center;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    width: 40px;
    padding: 0.25rem;
  }
  
  .quantity-control .btn {
    padding: 0.25rem 0.5rem;
    min-width: 30px;
  }
  
  .quantity-control .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .quantity-control .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .quantity-control input[type="number"]::-webkit-inner-spin-button,
  .quantity-control input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  .quantity-control input[type="number"] {
    -moz-appearance: textfield;
  }

  .remove-item {
    text-decoration: none;
  }

  .remove-item:hover {
    color: #dc3545;
    text-decoration: none;
  }

  /* Product attribute styles */
  .color-option {
    margin-right: 8px;
    margin-bottom: 8px;
  }

  .color-swatch {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: all 0.2s ease;
  }

  .color-option input:checked + .color-swatch {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
  }

  .product-attribute-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-attribute-radio .form-check {
    margin-right: 15px;
  }