/* Checkout Summary Section */
.checkout-summary {
    background-color: #f7fafd;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Promo Code Input */
.promo-code {
    width: 100%;
}
.promo-code input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Summary Details (Subtotal and note) */
.summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subtotal-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: -5px;
}

/* Checkout Button */
.checkout-button {
    padding: 15px;
    background-color: #0056d2;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.checkout-button:hover {
    background-color: #003f9e;
}

.checkout-button .arrow {
    margin-left: 10px;
    font-weight: normal;
    font-size: 1.3rem;
}

/* Payment Security Section */
.secure-icons {
    text-align: center;
    margin-top: 10px;
}

.secured {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 5px;
}

.payment-icons img {
    width: 40px;
    margin: 0 8px;
    vertical-align: middle;
}

.hero-mobile {
  display: none;
}


/* Responsive Layout (Optional) */
@media (max-width: 768px) {
    .checkout-summary {
        margin: 20px;
    }
}
.header {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-family: apple-system,'Samsung Sharp Sans', sans-serif;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    color: white;
}
.cart-item-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    gap: 20px;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    padding: 8px 12px;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.quantity-count {
    font-size: 1.2rem;
    font-weight: bold;
}

.cart-item-info {
    flex: 1;
}

/* Ensure space below fixed header */
.cart-preview,
.checkout-summary {
    margin-top: 100px; /* Enough space below the fixed header */
}
.remove-btn {
    background-color: #e36262;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    margin-top: 0px;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.remove-btn:hover {
    background-color: #d9363e;
    transform: translateY(-1px);
}

.hero-video {
    display: none;
  }

.hero-mobile {
    display: block;
  }

  .bag-select {
    font-size: 16px;
    padding: 6px 10px;
    width: 70px;
    border-radius: 6px;
    border: 1px solid #ccc;
    appearance: none;
    background-color: #f9f9f9;
    cursor: pointer;
    text-align: center;
  }
  .cart-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 120px; /* Adjust based on your header height */
    padding: 0 20px;
  }
  
  .cart-preview {
    flex: 2;
  }
  
  .cart-summary {
    flex: 1;
    background-color: #f7fafd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 300px;
  }
  
  .cart-summary h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  
  .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
  }
  
  .summary-line.total {
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
  }
  
  .stripe-checkout-btn {
    background-color: #6772e5;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 20px;
  }
  
  .stripe-checkout-btn:hover {
    background-color: #5469d4;
  }
  .cart-summary {
    flex: 1;
    background-color: #f7fafd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 300px;
    margin-top: 350px; /* Adjust this value to move it further down */
  }
      
  .cart-item-info {
    flex: 1;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222;
  }
  
  .cart-item-info .item-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  
  .cart-item-info .item-description,
  .cart-item-info .item-price {
    font-weight: 500;
    font-size: 1rem;
    color: #444;
  }
  .cart-summary {
    flex: 1;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    max-width: 340px;
    margin-top: 350px;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  
  .cart-summary h2 {
    margin-bottom: 24px;
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    color: #111;
  }
  
  .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
  }
  
  .summary-line.total {
    font-weight: 700;
    font-size: 1.2rem;
    border-top: 2px solid #eee;
    padding-top: 16px;
    margin-top: 20px;
    color: #000;
  }
  
  .stripe-checkout-btn {
    background: linear-gradient(135deg, #6772e5, #7f8df4);
    color: white;
    font-size: 1rem;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
  }
  
  .stripe-checkout-btn:hover {
    background: linear-gradient(135deg, #5469d4, #6e7ce8);
  }
  .item-price {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
  }
  /* Responsive Layout (Mobile View) */
@media (max-width: 768px) {
    .checkout-summary {
        margin: 20px;
    }

    /* Mobile-friendly Header */
    .header {
        padding: 10px 0;
    }

    /* Adjust Cart Item Box for Mobile */
    .cart-item-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .cart-item-image {
        width: 100px;
        height: 100px;
    }

    .quantity-controls {
        gap: 8px;
    }

    .quantity-btn {
        padding: 6px 10px;
    }

    .quantity-count {
        font-size: 1rem;
    }

    /* Mobile Cart Layout */
    .cart-container {
        flex-direction: column;
        padding: 10px;
    }

    .cart-summary {
        margin-top: 20px;
        max-width: 100%;
        padding: 16px;
        border-radius: 8px;
    }

    .cart-summary h2 {
        font-size: 1.2rem;
    }

    .summary-line {
        font-size: 0.9rem;
    }

    .stripe-checkout-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .hero-mobile {
        display: block;
    }

    .hero-video {
        display: none;
    }

    .bag-select {
        width: 100%;
        font-size: 14px;
    }

    /* Adjust Cart Item Info */
    .cart-item-info .item-name {
        font-size: 1.1rem;
    }

    .cart-item-info .item-description,
    .cart-item-info .item-price {
        font-size: 0.9rem;
    }

    .remove-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Ensure space below fixed header */
.cart-preview,
.checkout-summary {
    margin-top: 100px; /* Enough space below the fixed header */
}
    
