.product-tabs-wrapper {
    background: #f8fafd;
    border-radius: 32px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
.product-tabs-container {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.tabs-sidebar {
    flex: 0 0 220px;
    background: #1f3b4c;
    border-radius: 32px;
    padding: 28px 16px;
    color: white;
    text-align: center;
    align-self: flex-start;
}
.category-info .cat-icon {
    font-size: 58px;
    margin-bottom: 16px;
    line-height: 1;
}
.category-info .cat-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.category-info .cat-count {
    font-size: 0.85rem;
    opacity: 0.8;
}
.tabs-products {
    flex: 1;
    min-width: 240px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    border: 1px solid #eef2f8;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 28px -12px rgba(0,0,0,0.15);
}
.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafcff;
    padding: 16px;
}
.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.product-info {
    padding: 16px 18px 20px;
}
.product-name {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
    flex-wrap: wrap;
}
.product-badge {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 40px;
    font-weight: 600;
}
.product-badge.sale { background: #fee2e2; color: #b91c1c; }
.product-badge.featured { background: #ffedd5; color: #b45309; }
.product-badge.new { background: #e0f2fe; color: #0369a1; }
.product-desc {
    font-size: 0.75rem;
    color: #5b6e8c;
    margin: 10px 0;
    line-height: 1.45;
}
.price-row {
    margin: 14px 0 12px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.current-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: #1f3b4c;
}
.old-price {
    font-size: 0.8rem;
    color: #9aaebf;
    text-decoration: line-through;
}
.detail-btn {
    display: inline-block;
    background: #f0f4fa;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: #1f3b4c;
    transition: 0.2s;
}
.detail-btn:hover {
    background: #e2eaf3;
    color: #0f2c3c;
}
@media (max-width: 768px) {
    .product-tabs-container {
        flex-direction: column;
    }
    .tabs-sidebar {
        flex: auto;
        width: 100%;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 520px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}