
  :root {
    --primary: #3a5a40;
    --secondary: #a3b18a;
    --accent: #588157;
    --light: #f5f5f5;
    --dark: #344e41;
    --error: #b33a3a;
    --success: #4a934a;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }

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

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
  }

  /* Hero Section */
  .cart-hero {
    position: relative;
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
  }

  .cart-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
  }

  .cart-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
  }

  /* Cart Content Section */
  .cart-content {
    padding: 60px 0;
    background-color: var(--light);
  }

  .cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 15px 20px;
    background-color: var(--dark);
    color: var(--light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: bold;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
    background-color: white;
  }

  .cart-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .cart-item-product {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .cart-item-product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
  }

  .cart-item-details h3 {
    margin-bottom: 5px;
    color: var(--dark);
  }

  .cart-item-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 3px;
  }

  .cart-item-quantity {
    display: flex;
    align-items: center;
  }

  .quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--dark);
  }

  .cart-item-quantity input {
    width: 40px;
    height: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
  }

  .cart-item-price,
  .cart-item-total {
    font-weight: bold;
    color: var(--dark);
  }

  .remove-btn {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 1.1rem;
  }

  .cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }

  .continue-shopping,
  .update-cart {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
  }

  .continue-shopping {
    background-color: var(--light-gray);
    color: var(--dark);
  }

  .update-cart {
    background-color: var(--secondary);
    color: var(--dark);
  }

  /* Cart Summary Section */
  .cart-summary {
    padding: 60px 0;
    background-color: var(--light-gray);
  }

  .summary-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .coupon-section,
  .order-summary {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }

  .coupon-section h2,
  .order-summary h2 {
    margin-bottom: 20px;
    color: var(--dark);
  }

  .coupon-form {
    display: flex;
    margin-top: 20px;
  }

  .coupon-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
  }

  .coupon-form button {
    padding: 12px 20px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: bold;
  }

  .summary-details {
    margin-bottom: 30px;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--dark);
    border-top: 2px solid var(--dark);
    border-bottom: none;
    padding-top: 20px;
  }

  .summary-row.discount {
    color: var(--success);
  }

  .checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  /* Shipping Info Section */
  .shipping-info {
    padding: 60px 0;
    background-color: white;
  }

  .info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .info-card {
    padding: 30px;
    text-align: center;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
  }

  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--secondary);
  }

  .info-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
  }

  .info-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
  }

  /* Recommended Products Section */
  .recommended-products {
    padding: 80px 0;
    position: relative;
    background-color: var(--light);
    text-align: center;
  }

  .recommended-products h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .recommended-products > p {
    margin-bottom: 40px;
    color: var(--gray);
  }

  .product-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
  }

  .product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }

  .product-card:hover {
    transform: translateY(-10px);
  }

  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .product-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--dark);
  }

  .product-price {
    color: var(--accent);
    font-weight: bold;
    padding: 0 15px 15px;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
  }

  .add-to-cart-btn:hover {
    background-color: var(--dark);
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }

  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .product-slider {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 768px) {
    .cart-header {
      display: none;
    }

    .cart-item {
      grid-template-columns: 1fr;
      gap: 15px;
    }

    .cart-item-product {
      grid-column: 1 / -1;
    }

    .cart-item-quantity,
    .cart-item-price,
    .cart-item-total,
    .cart-item-action {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 0;
      border-top: 1px solid var(--light-gray);
    }

    .cart-item-quantity::before {
      content: "Ilość:";
      font-weight: bold;
    }

    .cart-item-price::before {
      content: "Cena:";
      font-weight: bold;
    }

    .cart-item-total::before {
      content: "Suma:";
      font-weight: bold;
    }

    .cart-item-action::before {
      content: "Akcje:";
      font-weight: bold;
    }

    .summary-wrapper {
      grid-template-columns: 1fr;
    }

    .info-cards {
      grid-template-columns: 1fr;
    }

    .product-slider {
      grid-template-columns: repeat(2, 1fr);
    }

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

    .continue-shopping,
    .update-cart {
      width: 100%;
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .cart-hero h1 {
      font-size: 2.2rem;
    }

    .product-slider {
      grid-template-columns: 1fr;
    }

    .coupon-form {
      flex-direction: column;
    }

    .coupon-form input {
      border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    .coupon-form button {
      border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
  }

  /* Accessibility */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  /* Focus States */
  button:focus,
  input:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }
