Create an e-commerce product landing page with hero image carousel, product features grid, size/color selector, customer reviews with star ratings, related products section, add to cart button, and shipping information.
83a96f0
verified
| /* Custom Carousel Styles */ | |
| .carousel-container { | |
| position: relative; | |
| } | |
| .carousel-track { | |
| display: flex; | |
| height: 100%; | |
| } | |
| .carousel-slide { | |
| flex-shrink: 0; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .carousel-prev, .carousel-next { | |
| transition: all 0.3s ease; | |
| } | |
| .carousel-prev:hover, .carousel-next:hover { | |
| transform: translateY(-50%) scale(1.1); | |
| } | |
| /* Quantity Selector Styles */ | |
| .quantity-selector button { | |
| transition: background-color 0.2s ease; | |
| } | |
| .quantity-selector button:hover { | |
| background-color: #e5e7eb; | |
| } | |
| /* Review Card Hover Effect */ | |
| .review-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Smooth transitions for interactive elements */ | |
| button, .color-selector button, .size-selector button { | |
| transition: all 0.2s ease; | |
| } | |
| /* Custom shadow for featured products */ | |
| .feature-card { | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); | |
| } | |
| /* Animation for Add to Cart button */ | |
| @keyframes pulse { | |
| 0% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| 100% { | |
| transform: scale(1); | |
| } | |
| } | |
| .add-to-cart-btn:hover { | |
| animation: pulse 1.5s infinite; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 640px) { | |
| .product-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .feature-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } |