
  :root {
    --primary: #2c3e50;
    --secondary: #16a085;
    --accent: #e67e22;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --error: #e74c3c;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
  }

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

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

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

  section {
    position: relative;
    padding: 80px 0;
  }

  h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
  }

  h1 {
    font-size: 3rem;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  p {
    margin-bottom: 20px;
    line-height: 1.6;
  }

  button {
    cursor: pointer;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
  }

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

  /* Hero section */
  .cart-hero {
    background-color: var(--light);
    padding: 100px 0;
    text-align: center;
    position: relative;
  }

  .cart-hero h1 {
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
  }

  .cart-hero .subtitle {
    font-size: 1.4rem;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
  }

  /* Cart content section */
  .cart-content {
    padding: 80px 0;
    background-color: #fff;
  }

  .cart-content .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  @media (min-width: 992px) {
    .cart-content .container {
      grid-template-columns: 2fr 1fr;
    }
  }

  .cart-summary h2,
  .order-summary h2 {
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
    margin-bottom: 30px;
  }

  .cart-items {
    margin-bottom: 30px;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--light);
  }

  .cart-item:last-child {
    border-bottom: none;
  }

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

  .item-details h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
  }

  .item-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .item-specs {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--dark);
  }

  .item-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    overflow: hidden;
  }

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

  .item-quantity input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    -moz-appearance: textfield;
  }

  .item-quantity input::-webkit-outer-spin-button,
  .item-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .item-price {
    text-align: right;
  }

  .current-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
  }

  .original-price {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
    margin: 0;
  }

  .remove-item {
    color: var(--error);
    background: none;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .continue-shopping,
  .update-cart {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .continue-shopping {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
  }

  .continue-shopping:hover {
    background-color: rgba(44, 62, 80, 0.05);
  }

  .update-cart {
    background-color: var(--primary);
    color: white;
  }

  .update-cart:hover {
    background-color: #1a2530;
  }

  /* Order summary */
  .order-summary {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--radius);
    height: fit-content;
  }

  .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }

  .summary-total {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding-top: 20px;
    border-top: 2px solid var(--light);
    font-size: 1.3rem;
    font-weight: 700;
  }

  .checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary);
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .checkout-btn:hover {
    background-color: #138a72;
  }

  .promo-code h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .promo-form {
    display: flex;
    gap: 10px;
  }

  .promo-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light);
    border-radius: var(--radius);
  }

  .promo-form button {
    padding: 12px 20px;
    background-color: var(--primary);
    color: white;
  }

  .promo-form button:hover {
    background-color: #1a2530;
  }

  /* Delivery options */
  .delivery-options {
    background-color: #f8f9fa;
    position: relative;
  }

  .delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  .delivery-option {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
  }

  .delivery-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .delivery-option.recommended {
    border: 2px solid var(--secondary);
  }

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

  .delivery-option h3 {
    margin-bottom: 10px;
  }

  .delivery-option p {
    color: var(--gray);
    margin-bottom: 15px;
  }

  .delivery-option .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
  }

  .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .delivery-info {
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .delivery-info p {
    color: var(--gray);
  }

  .delivery-info a {
    color: var(--secondary);
    text-decoration: none;
  }

  .delivery-info a:hover {
    text-decoration: underline;
  }

  /* Recommended products */
  .recommended-products {
    padding: 80px 0;
    text-align: center;
  }

  .section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 50px;
  }

  .products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

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

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

  .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

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

  .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .product-info {
    padding: 20px;
    text-align: left;
  }

  .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .product-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .product-price {
    margin-bottom: 20px;
  }

  .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    transition: var(--transition);
  }

  .add-to-cart-btn:hover {
    background-color: #1a2530;
  }

  /* Customer service */
  .customer-service {
    background-color: var(--light);
    padding: 80px 0;
    text-align: center;
  }

  .service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .service-option {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .service-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

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

  .service-option h3 {
    margin-bottom: 15px;
  }

  .service-option p {
    color: var(--gray);
    margin-bottom: 20px;
  }

  .service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
  }

  .service-link:hover {
    text-decoration: underline;
  }

  .service-button {
    padding: 12px 25px;
    background-color: var(--secondary);
    color: white;
    border-radius: 30px;
    font-size: 1rem;
  }

  .service-button:hover {
    background-color: #138a72;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .cart-item {
      grid-template-columns: 80px 1fr auto;
      gap: 15px;
      padding: 15px 0;
    }

    .item-quantity, .item-price {
      grid-column: 2;
    }

    .remove-item {
      grid-column: 3;
      grid-row: span 2;
    }
  }

  @media (max-width: 768px) {
    section {
      padding: 60px 0;
    }

    h1 {
      font-size: 2.5rem;
    }

    h2 {
      font-size: 1.8rem;
    }

    .cart-hero {
      padding: 70px 0;
    }

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

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

    .delivery-grid, .products-slider, .service-options {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 576px) {
    .cart-item {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .item-image img {
      width: 120px;
      height: 120px;
      margin: 0 auto;
    }

    .item-quantity, .item-price, .remove-item {
      grid-column: 1;
    }

    .item-quantity {
      margin: 0 auto;
    }

    .remove-item {
      margin: 10px auto 0;
    }
  }
