
  :root {
    --primary: #1a5f7a;
    --primary-dark: #0d4b66;
    --secondary: #f39c12;
    --secondary-dark: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --gray-light: #f5f7fa;
    --gray-medium: #e0e6ed;
    --gray-dark: #95a5a6;
    --success: #27ae60;
    --danger: #e74c3c;
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

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

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

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

  /* Background Image Styling */
  section {
    position: relative;
  }

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

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .btn-primary {
    background-color: var(--primary);
  }

  .btn-primary:hover {
    background-color: var(--primary-dark);
  }

  .btn-secondary {
    background-color: var(--secondary);
  }

  .btn-secondary:hover {
    background-color: var(--secondary-dark);
  }

  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
  }

  .btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
  }

  .btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Hero Section */
  .cart-hero {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
  }

  .cart-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }

  .cart-hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

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

  .cart-empty {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
  }

  .cart-empty img {
    max-width: 200px;
    margin-bottom: 24px;
  }

  .cart-empty h2 {
    margin-bottom: 16px;
    color: var(--text-dark);
  }

  .cart-empty p {
    margin-bottom: 24px;
    color: var(--text-dark);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .cart-items {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
  }

  .cart-items h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 1.8rem;
  }

  .cart-table {
    width: 100%;
    border-collapse: collapse;
  }

  .cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 12px 0;
    border-bottom: 2px solid var(--gray-medium);
    font-weight: 600;
    color: var(--text-dark);
  }

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

  .product-info {
    display: flex;
    align-items: center;
  }

  .product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 16px;
  }

  .product-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
  }

  .product-info p {
    color: var(--gray-dark);
    font-size: 0.9rem;
  }

  .product-price, .product-total {
    font-weight: 600;
    color: var(--text-dark);
  }

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

  .product-quantity input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    margin: 0 8px;
  }

  .quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    cursor: pointer;
  }

  .quantity-btn:hover {
    background-color: var(--gray-medium);
  }

  .remove-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    border-radius: 50%;
  }

  .remove-btn:hover {
    background-color: rgba(231, 76, 60, 0.1);
  }

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

  .coupon {
    display: flex;
    gap: 10px;
  }

  .coupon input {
    padding: 12px 16px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    min-width: 200px;
  }

  /* Cart Summary Section */
  .cart-summary {
    padding: 60px 0;
    background-color: white;
  }

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

  .related-products h2,
  .order-summary h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 1.8rem;
  }

  .related-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .related-item {
    padding: 20px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    text-align: center;
  }

  .related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
  }

  .related-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
  }

  .related-item .price {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
  }

  .order-summary {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: var(--border-radius);
  }

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

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

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

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

  .shipping-options {
    margin-bottom: 30px;
  }

  .shipping-options h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
  }

  .shipping-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
  }

  .shipping-option input {
    margin-right: 10px;
  }

  .shipping-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray-dark);
  }

  .payment-methods {
    margin-top: 30px;
    text-align: center;
  }

  .payment-methods p {
    margin-bottom: 10px;
    color: var(--text-dark);
  }

  .payment-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 1.8rem;
    color: var(--gray-dark);
  }

  /* Help Section */
  .cart-help {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--text-light);
  }

  .help-content {
    position: relative;
    z-index: 1;
    text-align: center;
  }

  .help-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .help-content > p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
  }

  .help-content a {
    color: var(--secondary);
    text-decoration: underline;
  }

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

  .help-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
  }

  .help-option:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
  }

  .help-option i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
  }

  .help-option h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
  }

  .help-option p {
    margin-bottom: 8px;
  }

  /* Responsive Styles */
  @media (max-width: 992px) {
    .summary-wrapper {
      grid-template-columns: 1fr;
    }

    .related-products {
      margin-bottom: 40px;
    }
  }

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

    .cart-item {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 20px;
      margin-bottom: 20px;
      border: 1px solid var(--gray-medium);
      border-radius: var(--border-radius);
    }

    .product-info {
      border-bottom: 1px solid var(--gray-medium);
      padding-bottom: 16px;
    }

    .product-price, .product-quantity, .product-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .product-price::before {
      content: 'Cena:';
      font-weight: normal;
    }

    .product-quantity::before {
      content: 'Ilość:';
      font-weight: normal;
    }

    .product-total::before {
      content: 'Suma:';
      font-weight: normal;
    }

    .product-remove {
      text-align: right;
    }

    .cart-actions {
      flex-direction: column;
    }

    .coupon {
      width: 100%;
    }

    .related-items {
      grid-template-columns: 1fr;
    }

    .help-options {
      grid-template-columns: 1fr;
    }
  }

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

    .cart-items {
      padding: 20px 15px;
    }
  }
