/*
Theme Name: Ecomus Child
Theme URI: https://wpecomus.com/
Author: DrFuri
Author URI: http://drfuri.com/
Description: Multipurpose WooCommerce WordPress Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecomus
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: ecomus
*/
.ps-wrapper { max-width: 1200px; margin: 40px auto; position: relative; padding: 0 15px; }
.ps-header { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.ps-tabs { display: flex; gap: 20px; justify-content: center; }
.ps-tab-btn { 
    background: none; border: none; font-size: 16px; font-weight: 600; 
    color: #888; cursor: pointer; padding: 5px 0; position: relative;
}
.ps-tab-btn.active { color: #111; }
.ps-tab-btn.active::after { 
    content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 2px; background: #111; 
}
.ps-nav { position: absolute; top: 50%; width: 100%; left: 0; pointer-events: none; z-index: 10; display: flex; justify-content: space-between; transform: translateY(-50%); }
.ps-btn { 
    width: 40px; height: 40px; background: #fff; border: 1px solid #ddd; border-radius: 50%; 
    cursor: pointer; pointer-events: auto; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ps-btn:hover { background: #111; color: #fff; border-color: #111; }
.ps-container { overflow: hidden; }
.ps-track { display: flex; transition: 0.5s ease-in-out; gap: 20px; }
.product-item { 
    flex: 0 0 calc(25% - 15px); background: #fff; padding: 15px; 
    text-decoration: none; color: inherit; border-radius: 8px; border: 1px solid #f0f0f0;
}
.img-wrap { height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 15px; }
.img-wrap img { max-width: 100%; max-height: 100%; object-fit: cover; transition: 0.5s; }
.product-item:hover img { transform: scale(1.05); }
.p-name { font-size: 15px; margin-bottom: 10px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.stars { color: #ffb400; font-size: 12px; margin-bottom: 10px; }
.price-box { font-weight: 700; color: #d0021b; font-size: 16px; }
.old-p { font-size: 13px; color: #999; text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.sale-tag { position: absolute; top: 10px; left: 10px; background: #d0021b; color: #fff; padding: 2px 8px; font-size: 10px; border-radius: 3px; z-index: 2; }

@media (max-width: 1024px) { .product-item { flex: 0 0 calc(33.33% - 14px); } }
@media (max-width: 768px) { .product-item { flex: 0 0 100%; } .ps-nav { display: none; } }