/* General Styles */ .container { max-width: 1200px; margin: 0 auto; padding: 20px; } .breadcrumb { margin-bottom: 20px; font-size: 14px; color: #555; } .breadcrumb a { text-decoration: none; color: #007bff; } .breadcrumb a:hover { text-decoration: underline; } /* Cart Page Styles */ .cart-page { display: flex; flex-direction: column; gap: 30px; } .cart-page h1 { font-size: 28px; color: #333; margin-bottom: 20px; } .cart-items { display: flex; flex-direction: column; gap: 20px; } .cart-item { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; padding: 15px; gap: 20px; background-color: #f9f9f9; } .cart-item-image img { width: 100px; height: 150px; object-fit: cover; border-radius: 4px; } .cart-item-info { flex: 1; } .cart-item-info h2 { font-size: 18px; margin: 0 0 5px; color: #333; } .cart-item-info p { font-size: 14px; margin: 5px 0; color: #666; } .cart-item-info a { color: #007bff; text-decoration: none; } .cart-item-info a:hover { text-decoration: underline; } .cart-item-actions { text-align: right; } .cart-item-actions .btn { font-size: 14px; padding: 8px 12px; } .cart-item-actions .btn-secondary { background-color: #f44336; color: #fff; border: none; border-radius: 4px; cursor: pointer; } .cart-item-actions .btn-secondary:hover { background-color: #d32f2f; } /* Cart Summary Styles */ .cart-summary { border: 1px solid #ddd; border-radius: 8px; padding: 20px; background-color: #f9f9f9; max-width: 400px; margin-left: auto; } .cart-summary h2 { font-size: 20px; margin-bottom: 20px; color: #333; } .summary-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 16px; font-weight: 600; color: #555; } .summary-item:last-child { margin-bottom: 0; } .cart-summary .btn-primary { display: block; width: 100%; background-color: #007bff; color: #fff; font-size: 16px; padding: 10px; border: none; border-radius: 4px; text-align: center; cursor: pointer; margin-top: 20px; } .cart-summary .btn-primary:hover { background-color: #0056b3; } /* Responsive Design */ @media (max-width: 768px) { .cart-item { flex-direction: column; align-items: flex-start; } .cart-item-image img { width: 100%; height: auto; } .cart-summary { margin-left: 0; margin-top: 20px; } }