Shopping Cart Component - Watercolor/Artistic Sepia
A simple, responsive shopping cart component with a watercolor/artistic style using sepia/brown tones, suitable for manufacturing/industrial companies. Includes dark mode support.
HTML Code
<div class="font-sans antialiased bg-stone-100 dark:bg-stone-900 text-stone-800 dark:text-stone-200 p-4 sm:p-6 lg:p-8">
<div class="max-w-4xl mx-auto bg-white dark:bg-stone-800 shadow-xl rounded-lg overflow-hidden border border-stone-200 dark:border-stone-700 relative">
<!-- Artistic Overlay (simulated with bg patterns) -->
<div class="absolute inset-0 z-0 opacity-20 dark:opacity-10 pointer-events-none bg-[url('https://www.transparenttextures.com/patterns/watercolor.png')] dark:bg-[url('https://www.transparenttextures.com/patterns/watercolor.png')] bg-repeat"></div>
<div class="relaive z-10 p-6 sm:p-8">
<h2 class="text-3xl sm:text-4xl font-bold mb-6 text-center text-stone-700 dark:text-stone-300 tracking-wide leading-tight" style="font-family: 'Playfair Display', serif;">Your Industrial Cart</h2>
<!-- Cart Item -->
<div class="flex flex-col sm:flex-row items-center bg-stone-50 dark:bg-stone-700 p-4 rounded-lg shadow-sm border border-stone-100 dark:border-stone-600 mb-4 transition-all duration-300 hover:shadow-md">
<div class="flex-shrink-0 w-24 h-24 sm:w-32 sm:h-32 mb-4 sm:mb-0 sm:mr-6 rounded-md overflow-hidden border border-stone-200 dark:border-stone-500">
<img class="w-full h-full object-cover" src="https://picsum.photos/seed/tool1/300/300" alt="Industrial Valve">
</div>
<div class="flex-grow text-center sm:text-left">
<h3 class="text-xl sm:text-2xl font-semibold text-stone-700 dark:text-stone-300 mb-2 leading-snug" style="font-family: 'Merriweather', serif;">Heavy-Duty Actuator Valve</h3>
<p class="text-stone-600 dark:text-stone-400 mb-2">SKU: IND-VL-789</p>
<div class="flex items-center justify-center sm:justify-start text-lg">
<span class="text-stone-900 dark:text-stone-100 font-bold mr-2">$499.00</span>
<span class="text-stone-500 dark:text-stone-400">x 1</span>
</div>
</div>
<div class="mt-4 sm:mt-0 flex-shrink-0">
<button class="px-4 py-2 rounded-md bg-red-400 hover:bg-red-500 dark:bg-red-600 dark:hover:bg-red-700 text-white font-medium transition-colors duration-200 shadow-sm">
Remove
</button>
</div>
</div>
<!-- Cart Item -->
<div class="flex flex-col sm:flex-row items-center bg-stone-50 dark:bg-stone-700 p-4 rounded-lg shadow-sm border border-stone-100 dark:border-stone-600 mb-6 transition-all duration-300 hover:shadow-md">
<div class="flex-shrink-0 w-24 h-24 sm:w-32 sm:h-32 mb-4 sm:mb-0 sm:mr-6 rounded-md overflow-hidden border border-stone-200 dark:border-stone-500">
<img class="w-full h-full object-cover" src="https://picsum.photos/seed/gear/300/300" alt="Precision Gear Set">
</div>
<div class="flex-grow text-center sm:text-left">
<h3 class="text-xl sm:text-2xl font-semibold text-stone-700 dark:text-stone-300 mb-2 leading-snug" style="font-family: 'Merriweather', serif;">Precision Machined Gear Set</h3>
<p class="text-stone-600 dark:text-stone-400 mb-2">SKU: PRO-GR-123</p>
<div class="flex items-center justify-center sm:justify-start text-lg">
<span class="text-stone-900 dark:text-stone-100 font-bold mr-2">$250.00</span>
<span class="text-stone-500 dark:text-stone-400">x 2</span>
</div>
</div>
<div class="mt-4 sm:mt-0 flex-shrink-0">
<button class="px-4 py-2 rounded-md bg-red-400 hover:bg-red-500 dark:bg-red-600 dark:hover:bg-red-700 text-white font-medium transition-colors duration-200 shadow-sm">
Remove
</button>
</div>
</div>
<!-- Cart Summary -->
<div class="border-t border-stone-200 dark:border-stone-600 pt-6 mt-6" style="border-style: dashed;">
<div class="flex justify-between items-center mb-3">
<span class="text-lg sm:text-xl text-stone-700 dark:text-stone-300">Subtotal:</span>
<span class="text-lg sm:text-xl font-bold text-stone-900 dark:text-stone-100">$999.00</span>
</div>
<div class="flex justify-between items-center mb-3">
<span class="text-lg sm:text-xl text-stone-700 dark:text-stone-300">Shipping:</span>
<span class="text-lg sm:text-xl font-bold text-stone-900 dark:text-stone-100">$50.00</span>
</div>
<div class="flex justify-between items-center mb-6">
<span class="text-2xl sm:text-3xl font-bold text-stone-800 dark:text-stone-200" style="font-family: 'Playfair Display', serif;">Total:</span>
<span class="text-2xl sm:text-3xl font-extrabold text-stone-900 dark:text-stone-100">$1049.00</span>
</div>
<button class="w-full py-4 rounded-lg bg-stone-800 hover:bg-stone-900 dark:bg-stone-600 dark:hover:bg-stone-700 text-white text-xl font-bold tracking-wide shadow-lg transition-colors duration-200">
Proceed to Checkout
</button>
</div>
</div>
</div>
</div>
<!-- Optional: Add Google Fonts for better artistic feel -->
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
Related Components
Shopping Cart Component
A retro vintage styled shopping cart component with responsive design and dark mode support, utilizing Tailwind CSS and featuring placeholder images and avatars.
Shopping Cart Component
A shopping cart component designed with skeuomorphism. It features digital elements that mimic their real-world counterparts, full responsive support, and dark theme compatibility.
Retro_Vintage_Shopping_Cart_Component
A responsive shopping cart component with a retro/vintage aesthetic, using sepia/brown tones, suitable for product showcases. Includes dark mode support.