.products-by-category{padding-top:15px;padding-bottom:15px;background-color:#f9f9f9;position:relative}.products-by-category:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://images.unsplash.com/photo-1579547945413-497e1b99dac0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80);background-size:cover;background-position:center;opacity:.03;z-index:0}.category-products-container{padding:0 5px;position:relative;z-index:1}.category-showcase{display:flex;gap:0px;margin-top:10px;box-shadow:0 10px 30px #0000000d;border-radius:12px;overflow:hidden;background-color:#fff;margin-bottom:10px}.category-banner{flex:0 0 15%;position:relative;overflow:hidden;max-height:100%}.category-banner img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.category-showcase:hover .category-banner img{transform:scale(1.05)}.banner-content{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(to bottom,#0003,#000000b3);color:#fff;text-align:center;padding:20px}.banner-content h3{font-size:28px;font-weight:700;margin-bottom:10px;letter-spacing:2px;text-shadow:0 2px 4px rgba(0,0,0,.3);transform:translateY(-20px);opacity:0;animation:fadeInUp .8s forwards .2s}.banner-content h4{font-size:16px;font-weight:600;margin-bottom:30px;letter-spacing:1px;text-shadow:0 2px 4px rgba(0,0,0,.3);transform:translateY(-20px);opacity:0;animation:fadeInUp .8s forwards .4s}@keyframes fadeInUp{to{transform:translateY(0);opacity:1}}.view-all-btn:hover{background-color:transparent;color:#fff;border-color:#fff;transform:translateY(-3px);box-shadow:0 8px 20px #0000004d}.category-products-grid{flex:1;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:10px;background-color:#fff}.category-product{background-color:#fff;border-radius:10px;overflow:hidden;box-shadow:0 5px 15px #0000000d;transition:transform .3s,box-shadow .3s;position:relative}.products-by-category .category-card{flex:none;max-width:none;width:auto}@media (max-width: 1200px){.category-showcase{flex-direction:column}.category-banner{flex:0 0 100%;height:240px}.category-banner img{width:100%;height:240px}.category-products-grid{grid-template-columns:repeat(4,1fr);padding:5px}.banner-content h3{font-size:28px}.banner-content h4{font-size:24px}}@media (max-width: 992px){.category-products-grid{grid-template-columns:repeat(3,1fr)}.category-products-container{max-width:100%;margin:0 auto;padding:0 5px;position:relative;z-index:1}.category-showcase{margin-top:0}.category-banner img{width:100%;height:140px}.category-banner{min-height:140px}}@media (max-width: 768px){.category-products-grid{grid-template-columns:repeat(3,1fr)}.banner-content h3{font-size:22px}.banner-content h3{margin-bottom:4px}.banner-content h4{font-size:18px;margin-bottom:13px}.view-all{font-size:13px;font-weight:600;padding:0 7px}.view-all-btn{padding:8px 30px;font-size:12px}.category-banner{flex:0 0 100%;height:140px}.products-by-category{padding:5px 0}}@media (max-width: 768px){.products-by-category .category-card{height:auto}.category-banner img{width:100%;height:140px}.category-banner{min-height:140px}}@media (max-width: 576px){.category-products-grid{grid-template-columns:repeat(2,1fr)}.products-by-category .category-card{height:auto}.section-heading h2,.section-header h2{font-size:16px}.banner-content h3{font-size:22px}.banner-content h4{font-size:18px}.category-showcase{gap:5px}.category-banner{height:140px}}
